#34: Allow cancelling/closing dependency installation if version count > 1
This commit is contained in:
@@ -14,6 +14,7 @@ const versionLookup = Constants.RELEASE_TYPES.map(k=> {
|
||||
});
|
||||
|
||||
export const releaseVersionReducer = createReducer({
|
||||
AllowDismissDependencies: false,
|
||||
InstalledVersion: 'none',
|
||||
LocationsLookup: {},
|
||||
Release: 0,
|
||||
@@ -35,13 +36,19 @@ export const releaseVersionReducer = createReducer({
|
||||
UpgradeVersion: null,
|
||||
};
|
||||
},
|
||||
[Actions.SET_ACTIVE_RELEASE]: (state, action) => {
|
||||
[Actions.NOTIFY_ACTIVE_RELEASE]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
Release: action.payload.release,
|
||||
Version: action.payload.version
|
||||
};
|
||||
},
|
||||
[Actions.setAllowDismissDependencies]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
AllowDismissDependencies: action.payload,
|
||||
};
|
||||
},
|
||||
[Actions.setDismissUIUpgrade]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user