diff options
Diffstat (limited to 'src/app/MainScreenWrapperReducer.js')
-rw-r--r-- | src/app/MainScreenWrapperReducer.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/app/MainScreenWrapperReducer.js b/src/app/MainScreenWrapperReducer.js index 6f92962..1875163 100644 --- a/src/app/MainScreenWrapperReducer.js +++ b/src/app/MainScreenWrapperReducer.js @@ -25,6 +25,9 @@ import { import { contextHandlerActionTypes } from 'app/contextHandler/ContextHandlerConstants.js'; +import { + personalizationActionTypes +} from 'app/personlaization/PersonalizationConstans.js'; export default (state = {}, action) => { switch (action.type) { @@ -76,6 +79,12 @@ export default (state = {}, action) => { ...state, subscriptionEnabled: false }; + case personalizationActionTypes.PERSONALIZATION_PAYLOAD_FOUND: + return { + ...state, + aaiTopLeftPersonalizedHeader: action.data.topLeftHeader, + aaiPersonalizedHtmlDocumentTitle: action.data.htmlDocumentTitle + }; } return state; }; |