diff options
author | 2018-11-05 12:11:30 +0200 | |
---|---|---|
committer | 2018-12-03 09:27:16 +0000 | |
commit | bacc715f10f5c648d61f0720120b14aadebf9a77 (patch) | |
tree | b3dfb96845fff76f36d723261d6ad92d23271318 /openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js | |
parent | c97bae74316ddae5121dc361a7631a8cdaa335b0 (diff) |
keyMirror with namespace
Issue-ID: SDC-1873
Change-Id: Ib8e810397578610cd7e0cba64e10ecc38d67f5eb
Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js')
-rw-r--r-- | openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js b/openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js index e9c1853c97..8bac377e08 100644 --- a/openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js +++ b/openecomp-ui/src/nfvo-components/modal/GlobalModalConstants.js @@ -1,5 +1,5 @@ /*! - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright © 2016-2018 European Support Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,13 +15,16 @@ */ import keyMirror from 'nfvo-utils/KeyMirror.js'; -export const actionTypes = keyMirror({ - GLOBAL_MODAL_SHOW: null, - GLOBAL_MODAL_CLOSE: null, - GLOBAL_MODAL_ERROR: null, - GLOBAL_MODAL_WARNING: null, - GLOBAL_MODAL_SUCCESS: null -}); +export const actionTypes = keyMirror( + { + GLOBAL_MODAL_SHOW: null, + GLOBAL_MODAL_CLOSE: null, + GLOBAL_MODAL_ERROR: null, + GLOBAL_MODAL_WARNING: null, + GLOBAL_MODAL_SUCCESS: null + }, + 'globalModal' +); export const typeEnum = { DEFAULT: 'default', |