diff options
author | 2020-10-11 20:07:34 +0200 | |
---|---|---|
committer | 2020-10-11 19:07:34 +0100 | |
commit | 3564d2fddfa74a7f907a53300150002f46417a5e (patch) | |
tree | 87d77c0cce6d3251f290708e3d0480661d4feb13 /src/components/settings/navigation/SettingsNavigation.js | |
parent | Merge #722 (diff) | |
download | ferdium-app-3564d2fddfa74a7f907a53300150002f46417a5e.tar.gz ferdium-app-3564d2fddfa74a7f907a53300150002f46417a5e.tar.zst ferdium-app-3564d2fddfa74a7f907a53300150002f46417a5e.zip |
Improve Ferdi's design (#977)
Co-authored-by: Amine Mouafik <amine@mouafik.fr>
Diffstat (limited to 'src/components/settings/navigation/SettingsNavigation.js')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index 0220731b9..f7786f4e8 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -147,14 +147,16 @@ export default @inject('stores', 'actions') @observer class SettingsNavigation e | |||
147 | )} | 147 | )} |
148 | </Link> | 148 | </Link> |
149 | ) : null} | 149 | ) : null} |
150 | <Link | 150 | {!isUsingWithoutAccount && ( |
151 | to="/settings/user" | 151 | <Link |
152 | className="settings-navigation__link" | 152 | to="/settings/user" |
153 | activeClassName="is-active" | 153 | className="settings-navigation__link" |
154 | disabled={!isLoggedIn} | 154 | activeClassName="is-active" |
155 | > | 155 | disabled={!isLoggedIn} |
156 | {intl.formatMessage(messages.account)} | 156 | > |
157 | </Link> | 157 | {intl.formatMessage(messages.account)} |
158 | </Link> | ||
159 | )} | ||
158 | {isUsingFranzServer && ( | 160 | {isUsingFranzServer && ( |
159 | <Link | 161 | <Link |
160 | to="/settings/team" | 162 | to="/settings/team" |