diff options
Diffstat (limited to 'src/components/layout/Sidebar.js')
-rw-r--r-- | src/components/layout/Sidebar.js | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/components/layout/Sidebar.js b/src/components/layout/Sidebar.js index e3df9c2ea..1cbdcfe46 100644 --- a/src/components/layout/Sidebar.js +++ b/src/components/layout/Sidebar.js | |||
@@ -233,12 +233,14 @@ class Sidebar extends Component { | |||
233 | )} (${settingsShortcutKey(false)})`} | 233 | )} (${settingsShortcutKey(false)})`} |
234 | > | 234 | > |
235 | <Icon icon={mdiCog} size={1.5} /> | 235 | <Icon icon={mdiCog} size={1.5} /> |
236 | {(this.props.stores.app.updateStatus === | 236 | { |
237 | this.props.stores.app.updateStatusTypes.AVAILABLE || | 237 | (this.props.stores.settings.app.automaticUpdates && |
238 | this.props.stores.app.updateStatus === | 238 | (this.props.stores.app.updateStatus === this.props.stores.app.updateStatusTypes.AVAILABLE || |
239 | this.props.stores.app.updateStatusTypes.DOWNLOADED) && ( | 239 | this.props.stores.app.updateStatus === this.props.stores.app.updateStatusTypes.DOWNLOADED) |
240 | <span className="update-available">•</span> | 240 | ) && ( |
241 | )} | 241 | <span className="update-available">•</span> |
242 | ) | ||
243 | } | ||
242 | </button> | 244 | </button> |
243 | {this.state.tooltipEnabled && ( | 245 | {this.state.tooltipEnabled && ( |
244 | <ReactTooltip place="right" type="dark" effect="solid" /> | 246 | <ReactTooltip place="right" type="dark" effect="solid" /> |