updated cookie manger added cookie policy

This commit is contained in:
2021-11-11 10:51:04 +00:00
parent f7f474dfd2
commit 9d54b0cd2d
17 changed files with 713 additions and 51 deletions
+6
View File
@@ -5,6 +5,7 @@ const searchResultsInitialState = {
searchDetailsObj: {},
documentDetailsObj: {},
documentHistoryObj: {},
representationsObj: {},
};
export default function reducer(state = searchResultsInitialState, action) {
@@ -29,6 +30,11 @@ export default function reducer(state = searchResultsInitialState, action) {
...state,
documentHistoryObj: action.documentHistoryObj,
};
case searchResultsActionTypes.SETREPRESENTATIONS:
return {
...state,
representationsObj: action.representationsObj,
};
default:
return state;
}