From d34135ae436acc2bc7ef669845e50238137e6812 Mon Sep 17 00:00:00 2001
From: Fabio Berger <me@fabioberger.com>
Date: Fri, 19 Jan 2018 11:26:03 +0800
Subject: Fix bug hiding the user info from topBar

---
 packages/website/ts/components/top_bar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/website/ts/components/top_bar.tsx')

diff --git a/packages/website/ts/components/top_bar.tsx b/packages/website/ts/components/top_bar.tsx
index 0859755fe..11d3e7cc2 100644
--- a/packages/website/ts/components/top_bar.tsx
+++ b/packages/website/ts/components/top_bar.tsx
@@ -168,7 +168,7 @@ export class TopBar extends React.Component<TopBarProps, TopBarState> {
                         </div>
                     )}
                     {this.props.blockchainIsLoaded &&
-                        _.isEmpty(this.props.userAddress) && (
+                        !_.isEmpty(this.props.userAddress) && (
                             <div className="col col-5 sm-hide xs-hide">{this._renderUser()}</div>
                         )}
                     <div className={`col ${isFullWidthPage ? 'col-2 pl2' : 'col-1'} md-hide lg-hide`}>
-- 
cgit v1.2.3

