Skip to content

Commit cf744d1

Browse files
committed
Merge branch 'persist-sorting-in-local-storage' of Arnei/opencast-admin-interface into develop
Pull request #1299 Persist table sort
2 parents 779e167 + e4794e1 commit cf744d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/store.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ import autoMergeLevel2 from "redux-persist/lib/stateReconciler/autoMergeLevel2";
3838
const tableFilterProfilesPersistConfig = { key: "tableFilterProfiles", storage, whitelist: ["profiles"] };
3939
const eventsPersistConfig = { key: "events", storage, whitelist: ["columns"] };
4040
const seriesPersistConfig = { key: "series", storage, whitelist: ["columns"] };
41-
const tablePersistConfig = { key: "table", storage, whitelist: ["pagination"] };
41+
const tablePersistConfig = { key: "table", storage, whitelist: ["pagination", "sortBy", "reverse"] };
4242
const recordingsPersistConfig = { key: "recordings", storage, whitelist: ["columns"] };
4343
const jobsPersistConfig = { key: "jobs", storage, whitelist: ["columns"] };
4444
const serversPersistConfig = { key: "servers", storage, whitelist: ["columns"] };

0 commit comments

Comments
 (0)