diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2019-09-03 14:34:14 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2019-09-09 12:31:33 +0200 |
| commit | 9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb (patch) | |
| tree | d903097cdb104b659b872f77aa961aa4df0281af /gui/src/renderer/components | |
| parent | 82497c9bc8cf8f40ab179330a7f9d19ec7dfa057 (diff) | |
| download | mullvadvpn-9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb.tar.xz mullvadvpn-9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb.zip | |
Add current_is_outdated support to Electron frontend
Diffstat (limited to 'gui/src/renderer/components')
| -rw-r--r-- | gui/src/renderer/components/NotificationArea.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/renderer/components/NotificationArea.tsx b/gui/src/renderer/components/NotificationArea.tsx index 9e4c971a89..a0cc9e08e3 100644 --- a/gui/src/renderer/components/NotificationArea.tsx +++ b/gui/src/renderer/components/NotificationArea.tsx @@ -176,7 +176,7 @@ export default class NotificationArea extends Component<IProps, State> { }; } - if (!version.upToDate && version.nextUpgrade) { + if (version.currentIsOutdated && version.nextUpgrade) { return { visible: true, type: 'update-available', |
