diff options
author | Arul <arul.nambi@amdocs.com> | 2018-01-15 11:04:25 -0500 |
---|---|---|
committer | Arul <arul.nambi@amdocs.com> | 2018-01-15 11:09:58 -0500 |
commit | a38f3d6bb17a478d08016e49d6c2a667ac483d4a (patch) | |
tree | e125fd7d7b194fd3a902e34deb86bc7b8bf7b50f /src/app/MainScreenWrapperReducer.js | |
parent | 9c0205dc5bfdac8931a4d8797240a4787d6af2dc (diff) |
Introduction of external URLs
Introduce external URLs to get AAI UI to show a specific graph
Change-Id: Ibc10dab32540f2c8347df1be535e48b88308b9ec
Signed-off-by: Arul <arul.nambi@amdocs.com>
Issue-ID: AAI-626
Diffstat (limited to 'src/app/MainScreenWrapperReducer.js')
-rw-r--r-- | src/app/MainScreenWrapperReducer.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/app/MainScreenWrapperReducer.js b/src/app/MainScreenWrapperReducer.js index 8c60330..6dd7dbf 100644 --- a/src/app/MainScreenWrapperReducer.js +++ b/src/app/MainScreenWrapperReducer.js @@ -20,6 +20,7 @@ * * ECOMP is a trademark and service mark of AT&T Intellectual Property. */ + import {aaiActionTypes} from './MainScreenWrapperConstants.js'; import { globalAutoCompleteSearchBarActionTypes @@ -61,11 +62,23 @@ export default (state = {}, action) => { ...state, externalRequestFound: action.data }; + case aaiActionTypes.SET_SECONDARY_TITLE: return { ...state, secondaryTitle: action.data }; + case contextHandlerActionTypes.SUBSCRIPTION_PAYLOAD_FOUND: + return { + ...state, + subscriptionPayload: action.data, + subscriptionEnabled: true + }; + case contextHandlerActionTypes.SUBSCRIPTION_PAYLOAD_EMPTY: + return { + ...state, + subscriptionEnabled: false + }; } return state; }; |