summaryrefslogtreecommitdiffstats
path: root/src/app/MainScreenWrapperReducer.js
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-11-07 09:19:21 -0500
committerArul.Nambi <arul.nambi@amdocs.com>2018-11-07 10:19:13 -0500
commite513a1ce93b9a70f01b62ca7560dbe52376cc5bd (patch)
tree823fafd48b54048e3761ed2f9fca65375964db37 /src/app/MainScreenWrapperReducer.js
parentd6fba6d748db7fbfac158ba8ae1a342c89826043 (diff)
Adding option for configurable header
Moving the standalone front end start up from localhost:port/aai -> localhost:port & Updating the node parameter to production for production build so that the minified code is more efficient & Changing the babel loaders for fonts to use the full name instead of the computed hash value & Adding a option to make the page header and html document title configurable instead of the previous hardcoded value of A&AI Issue-ID: AAI-1881 Change-Id: I867200b97d4e2e9acb687f373e39aab8fb8a1b25 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
Diffstat (limited to 'src/app/MainScreenWrapperReducer.js')
-rw-r--r--src/app/MainScreenWrapperReducer.js9
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;
};