Skip to content

Commit 66c6411

Browse files
Persist series details modal state in the URL
1 parent 0c0df2e commit 66c6411

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/store.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ const groupsPersistConfig = { key: "groups", storage, whitelist: ["columns"] }
4848
const aclsPersistConfig = { key: "acls", storage, whitelist: ["columns"] }
4949
const themesPersistConfig = { key: "themes", storage, whitelist: ["columns"] }
5050
const eventDetailsPersistConfig = { key: "eventDetails", storage: urlStorage, whitelist: ["modal"]}
51+
const seriesDetailsPersistConfig = { key: "seriesDetails", storage: urlStorage, whitelist: ["modal"]}
5152

5253
// form reducer and all other reducers used in this app
5354
const reducers = combineReducers({
@@ -69,7 +70,7 @@ const reducers = combineReducers({
6970
workflows,
7071
eventDetails: persistReducer(eventDetailsPersistConfig, eventDetails),
7172
themeDetails,
72-
seriesDetails,
73+
seriesDetails: persistReducer(seriesDetailsPersistConfig, seriesDetails),
7374
recordingDetails,
7475
userDetails,
7576
groupDetails,

0 commit comments

Comments
 (0)