Skip to content

Commit 8747d4c

Browse files
committed
fix(expand-rows): Fix expansion of rows in tables
1 parent 87c9553 commit 8747d4c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/store/Reducers/AdvisoryListStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const AdvisoryListStore = (state = storeListDefaults, action) => {
3434
case ActionTypes.EXPAND_ADVISORY_ROW: {
3535
const expandedUpdated = addOrRemoveItemFromSet(
3636
newState.expandedRows,
37-
action.payload
37+
[].concat(action.payload)
3838
);
3939
newState = { ...newState, expandedRows: expandedUpdated };
4040
return newState;

src/store/Reducers/SystemAdvisoryListStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const SystemAdvisoryListStore = (state = storeListDefaults, action) => {
2626
case ActionTypes.EXPAND_SYSTEM_ADVISORY_ROW: {
2727
const expandedUpdated = addOrRemoveItemFromSet(
2828
newState.expandedRows,
29-
action.payload
29+
[].concat(action.payload)
3030
);
3131
newState = { ...newState, expandedRows: expandedUpdated };
3232
return newState;

0 commit comments

Comments
 (0)