diff options
author | 2021-12-24 18:37:45 +0100 | |
---|---|---|
committer | 2021-12-24 18:37:45 +0100 | |
commit | de536064f400f5c8b0f444b7ac74bbb646991424 (patch) | |
tree | c7ad29dc067a04a18ed3abeaf444b9cf071e3f1a /src/components/settings/navigation/SettingsNavigation.js | |
parent | Prevent error swallowing on autoUpdate event (diff) | |
download | ferdium-app-de536064f400f5c8b0f444b7ac74bbb646991424.tar.gz ferdium-app-de536064f400f5c8b0f444b7ac74bbb646991424.tar.zst ferdium-app-de536064f400f5c8b0f444b7ac74bbb646991424.zip |
Apply .update-available badge to settings/updates tabs
Diffstat (limited to 'src/components/settings/navigation/SettingsNavigation.js')
-rw-r--r-- | src/components/settings/navigation/SettingsNavigation.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/settings/navigation/SettingsNavigation.js b/src/components/settings/navigation/SettingsNavigation.js index e8370d2ef..b58956f51 100644 --- a/src/components/settings/navigation/SettingsNavigation.js +++ b/src/components/settings/navigation/SettingsNavigation.js | |||
@@ -137,6 +137,11 @@ class SettingsNavigation extends Component { | |||
137 | activeClassName="is-active" | 137 | activeClassName="is-active" |
138 | > | 138 | > |
139 | {intl.formatMessage(globalMessages.settings)} | 139 | {intl.formatMessage(globalMessages.settings)} |
140 | {stores.settings.app.automaticUpdates && | ||
141 | (stores.app.updateStatus === stores.app.updateStatusTypes.AVAILABLE || | ||
142 | stores.app.updateStatus === stores.app.updateStatusTypes.DOWNLOADED) && ( | ||
143 | <span className="update-available">•</span> | ||
144 | )} | ||
140 | </Link> | 145 | </Link> |
141 | <Link | 146 | <Link |
142 | to="/settings/support" | 147 | to="/settings/support" |