From d399027dd695baeaef8a8fd6482d8d4fccc251e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Daubensch=C3=BCtz?= Date: Thu, 1 Oct 2015 14:34:46 +0200 Subject: [PATCH] Fix isActive reference --- js/components/whitelabel/wallet/wallet_app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/components/whitelabel/wallet/wallet_app.js b/js/components/whitelabel/wallet/wallet_app.js index b3034631..4788b5ec 100644 --- a/js/components/whitelabel/wallet/wallet_app.js +++ b/js/components/whitelabel/wallet/wallet_app.js @@ -31,7 +31,7 @@ let WalletApp = React.createClass({ let activeRoutes = this.props.routes.map(elem => 'route--' + elem.path.split('/')[0]); let header = null; - if ((this.isActive('/') || this.isActive('/login') || this.isActive('/signup') || this.isActive('/contract_notifications')) + if ((this.props.history.isActive('/login') || this.props.history.isActive('/signup') || this.props.history.isActive('/contract_notifications')) && (['ikonotv', 'cyland']).indexOf(subdomain) > -1) { header = (
); } else {