From 024f093585ac4d97d674e254658f4a44275b8b9e Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Thu, 18 Jan 2018 15:02:53 +0800 Subject: Fix Portal topbar so that it displays the mobile menu --- packages/website/ts/components/top_bar.tsx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'packages') diff --git a/packages/website/ts/components/top_bar.tsx b/packages/website/ts/components/top_bar.tsx index 601471222..c07366a0c 100644 --- a/packages/website/ts/components/top_bar.tsx +++ b/packages/website/ts/components/top_bar.tsx @@ -167,15 +167,13 @@ export class TopBar extends React.Component { )} - {this.props.blockchainIsLoaded && - !_.isEmpty(this.props.userAddress) &&
{this._renderUser()}
} - {!this._isViewingPortal() && ( -
-
- -
+ {this.props.blockchainIsLoaded && _.isEmpty(this.props.userAddress) && +
{this._renderUser()}
} +
+
+
- )} +
{this._renderDrawer()} -- cgit v1.2.3