\#28: Fix Linux upgrade
This commit is contained in:
@@ -20,6 +20,7 @@ export const releaseVersionReducer = createReducer({
|
||||
ReleaseUpgradeAvailable: false,
|
||||
UpgradeAvailable: false,
|
||||
UpgradeData: null,
|
||||
UpgradeVersion: null,
|
||||
UpgradeDismissed: false,
|
||||
Version: -1,
|
||||
VersionLookup: versionLookup,
|
||||
@@ -30,6 +31,7 @@ export const releaseVersionReducer = createReducer({
|
||||
UpgradeAvailable: false,
|
||||
UpgradeDismissed: false,
|
||||
UpgradeData: null,
|
||||
UpgradeVersion: null,
|
||||
};
|
||||
},
|
||||
[Actions.SET_ACTIVE_RELEASE]: (state, action) => {
|
||||
@@ -64,11 +66,12 @@ export const releaseVersionReducer = createReducer({
|
||||
ReleaseUpgradeAvailable: action.payload,
|
||||
};
|
||||
},
|
||||
[Actions.setUIUpgradeData]: (state, action) => {
|
||||
[Actions.SET_UI_UPGRADE_DATA]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
UpgradeAvailable: true,
|
||||
UpgradeData: action.payload,
|
||||
UpgradeData: action.payload.upgrade_data,
|
||||
UpgradeVersion: action.payload.version,
|
||||
UpgradeDismissed: false,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user