- added nped category options for alert popups
- minor fix on modal for 'DISABLED' MCC
This commit is contained in:
@@ -6,6 +6,12 @@ export const initialState = {
|
||||
sessionPaused: false,
|
||||
savedSightings: [],
|
||||
npedUser: null,
|
||||
iscatEnabled: {
|
||||
catA: true,
|
||||
catB: true,
|
||||
catC: true,
|
||||
catD: false,
|
||||
},
|
||||
};
|
||||
|
||||
export function reducer(state: NPEDSTATE, action: NPEDACTION) {
|
||||
@@ -40,6 +46,11 @@ export function reducer(state: NPEDSTATE, action: NPEDACTION) {
|
||||
...state,
|
||||
sessionList: action.payload,
|
||||
};
|
||||
case "NPEDCATENABLED":
|
||||
return {
|
||||
...state,
|
||||
iscatEnabled: action.payload,
|
||||
};
|
||||
default:
|
||||
return { ...state };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user