From aaf4f99bd37f5021ec72ffe695286e33487aeffe Mon Sep 17 00:00:00 2001 From: Julian Kniephoff Date: Thu, 14 Nov 2024 16:23:16 +0100 Subject: [PATCH] Persist series details modal state in the URL --- src/store.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/store.ts b/src/store.ts index 4cbec869c8..f79048a2d9 100644 --- a/src/store.ts +++ b/src/store.ts @@ -48,6 +48,7 @@ const groupsPersistConfig = { key: "groups", storage, whitelist: ["columns"] } const aclsPersistConfig = { key: "acls", storage, whitelist: ["columns"] } const themesPersistConfig = { key: "themes", storage, whitelist: ["columns"] } const eventDetailsPersistConfig = { key: "eventDetails", storage: urlStorage, whitelist: ["modal"]} +const seriesDetailsPersistConfig = { key: "seriesDetails", storage: urlStorage, whitelist: ["modal"]} // form reducer and all other reducers used in this app const reducers = combineReducers({ @@ -70,6 +71,7 @@ const reducers = combineReducers({ eventDetails: persistReducer(eventDetailsPersistConfig, eventDetails), themeDetails, seriesDetails, + seriesDetails: persistReducer(seriesDetailsPersistConfig, seriesDetails), recordingDetails, userDetails, groupDetails,