mirror of
https://github.com/ascribe/onion.git
synced 2024-11-15 01:25:17 +01:00
Fix isActive reference
This commit is contained in:
parent
83c652a4f0
commit
d399027dd6
@ -31,7 +31,7 @@ let WalletApp = React.createClass({
|
|||||||
let activeRoutes = this.props.routes.map(elem => 'route--' + elem.path.split('/')[0]);
|
let activeRoutes = this.props.routes.map(elem => 'route--' + elem.path.split('/')[0]);
|
||||||
|
|
||||||
let header = null;
|
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) {
|
&& (['ikonotv', 'cyland']).indexOf(subdomain) > -1) {
|
||||||
header = (<div className="hero"/>);
|
header = (<div className="hero"/>);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user