summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@codeispoetry.ru>2017-02-06 20:01:58 +0000
committerAndrej Mihajlov <and@codeispoetry.ru>2017-02-06 20:01:58 +0000
commitae3ac390d9826d11d80c5f4e030d7888a8bde023 (patch)
tree6125dae6d8b8e2479e2f3607380b0df9f1534eec /app
parent5372c52d8b75445999c8499e7d36771988043cab (diff)
downloadmullvadvpn-ae3ac390d9826d11d80c5f4e030d7888a8bde023.tar.xz
mullvadvpn-ae3ac390d9826d11d80c5f4e030d7888a8bde023.zip
visible is more elegant!
Diffstat (limited to 'app')
-rw-r--r--app/components/Tray.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/components/Tray.js b/app/components/Tray.js
index f5e42c78db..745fbc20d1 100644
--- a/app/components/Tray.js
+++ b/app/components/Tray.js
@@ -17,8 +17,8 @@ export default class Tray extends Component {
return (
<TrayMenu tray={this.props.handle}>
- {loggedIn && <TrayItem label="Log out" click={::this.logout} />}
- {loggedIn && <TrayItem type="separator" />}
+ <TrayItem label="Log out" click={::this.logout} visible={loggedIn} />
+ <TrayItem type="separator" visible={loggedIn} />
<TrayItem label="Privacy Policy" />
<TrayItem label="Visit homepage" />
</TrayMenu>