summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/containers
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-09-03 14:34:14 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-09-09 12:31:33 +0200
commit9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb (patch)
treed903097cdb104b659b872f77aa961aa4df0281af /gui/src/renderer/containers
parent82497c9bc8cf8f40ab179330a7f9d19ec7dfa057 (diff)
downloadmullvadvpn-9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb.tar.xz
mullvadvpn-9ef235edd8d7c2f8e7a2a5bbd42d8467742172eb.zip
Add current_is_outdated support to Electron frontend
Diffstat (limited to 'gui/src/renderer/containers')
-rw-r--r--gui/src/renderer/containers/SettingsPage.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/src/renderer/containers/SettingsPage.tsx b/gui/src/renderer/containers/SettingsPage.tsx
index e8a9c8ee9a..eb036920c1 100644
--- a/gui/src/renderer/containers/SettingsPage.tsx
+++ b/gui/src/renderer/containers/SettingsPage.tsx
@@ -13,7 +13,7 @@ const mapStateToProps = (state: IReduxState, props: ISharedRouteProps) => ({
expiryLocale: props.locale,
appVersion: state.version.current,
consistentVersion: state.version.consistent,
- upToDateVersion: state.version.upToDate,
+ upToDateVersion: !state.version.currentIsOutdated,
isOffline: state.connection.isBlocked,
});
const mapDispatchToProps = (dispatch: ReduxDispatch, _props: ISharedRouteProps) => {