mirror of
https://github.com/ascribe/onion.git
synced 2025-01-18 08:46:10 +01:00
Remove header from white labels that have landing pages
This commit is contained in:
parent
cec652551e
commit
43916625bd
@ -32,7 +32,7 @@ let WalletApp = React.createClass({
|
|||||||
|
|
||||||
// if the path of the current activeRoute is not defined, then this is the IndexRoute
|
// if the path of the current activeRoute is not defined, then this is the IndexRoute
|
||||||
if ((!path || history.isActive('/login') || history.isActive('/signup') || history.isActive('/contract_notifications'))
|
if ((!path || history.isActive('/login') || history.isActive('/signup') || history.isActive('/contract_notifications'))
|
||||||
&& (['ikonotv']).indexOf(subdomain) > -1) {
|
&& (['cyland', 'ikonotv', 'lumenus', '23vivi']).indexOf(subdomain) > -1) {
|
||||||
header = (<div className="hero"/>);
|
header = (<div className="hero"/>);
|
||||||
} else {
|
} else {
|
||||||
header = <Header showAddWork={true} routes={routes} />;
|
header = <Header showAddWork={true} routes={routes} />;
|
||||||
|
Loading…
Reference in New Issue
Block a user