- Merge client update into test-beta

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-01-18 19:20:08 -05:00
696 changed files with 92291 additions and 107075 deletions

View File

@@ -1,7 +1,7 @@
import ModalsActionTypes from "./modals.types";
const baseModal = {
visible: false,
open: false,
context: {},
actions: {
refetch: null,
@@ -36,7 +36,7 @@ const modalsReducer = (state = INITIAL_STATE, action) => {
...state,
[action.payload]: {
...state[action.payload],
visible: !state[action.payload].visible,
open: !state[action.payload].open,
},
};
case ModalsActionTypes.SET_MODAL_CONTEXT:
@@ -45,7 +45,7 @@ const modalsReducer = (state = INITIAL_STATE, action) => {
[action.payload.modal]: {
...state[action.payload.modal],
...action.payload.context,
visible: true,
open: true,
},
};
default: