diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-06 20:01:58 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-02-06 20:01:58 +0000 |
| commit | ae3ac390d9826d11d80c5f4e030d7888a8bde023 (patch) | |
| tree | 6125dae6d8b8e2479e2f3607380b0df9f1534eec | |
| parent | 5372c52d8b75445999c8499e7d36771988043cab (diff) | |
| download | mullvadvpn-ae3ac390d9826d11d80c5f4e030d7888a8bde023.tar.xz mullvadvpn-ae3ac390d9826d11d80c5f4e030d7888a8bde023.zip | |
visible is more elegant!
| -rw-r--r-- | app/components/Tray.js | 4 |
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> |
