#38: Enhance new repertory release available notification
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import {createReducer} from '@reduxjs/toolkit';
|
||||
import {
|
||||
setAutoInstallRelease,
|
||||
setDismissDependencies,
|
||||
setInstallActive,
|
||||
setInstallComplete,
|
||||
@@ -8,6 +9,7 @@ import {
|
||||
} from '../actions/install_actions';
|
||||
|
||||
export const installReducer = createReducer({
|
||||
AutoInstallRelease: false,
|
||||
DismissDependencies: false,
|
||||
InstallActive: false,
|
||||
InstallResult: null,
|
||||
@@ -15,6 +17,12 @@ export const installReducer = createReducer({
|
||||
InstallType: null,
|
||||
MissingDependencies: [],
|
||||
}, {
|
||||
[setAutoInstallRelease]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
AutoInstallRelease: action.payload,
|
||||
}
|
||||
},
|
||||
[setDismissDependencies]: (state, action) => {
|
||||
return {
|
||||
...state,
|
||||
|
||||
Reference in New Issue
Block a user