From bacc715f10f5c648d61f0720120b14aadebf9a77 Mon Sep 17 00:00:00 2001 From: svishnev Date: Mon, 5 Nov 2018 12:11:30 +0200 Subject: keyMirror with namespace Issue-ID: SDC-1873 Change-Id: Ib8e810397578610cd7e0cba64e10ecc38d67f5eb Signed-off-by: svishnev --- .../licenseKeyGroups/LicenseKeyGroupsConstants.js | 23 ++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups') diff --git a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsConstants.js b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsConstants.js index 7ab8a4f49a..b9369b4276 100644 --- a/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsConstants.js +++ b/openecomp-ui/src/sdc-app/onboarding/licenseModel/licenseKeyGroups/LicenseKeyGroupsConstants.js @@ -19,16 +19,19 @@ import InputOptions, { other as optionInputOther } from 'nfvo-components/input/validation/InputOptions.jsx'; -export const actionTypes = keyMirror({ - LICENSE_KEY_GROUPS_LIST_LOADED: 'LICENSE_KEY_GROUPS_LIST_LOADED', - LICENSE_KEY_GROUPS_DELETE_CONFIRM: 'LICENSE_KEY_GROUPS_DELETE_CONFIRM', - licenseKeyGroupsEditor: { - OPEN: 'licenseKeyGroupsEditor/OPEN', - CLOSE: 'licenseKeyGroupsEditor/CLOSE', - DATA_CHANGED: 'licenseKeyGroupsEditor/DATA_CHANGED', - LIMITS_LIST_LOADED: 'licenseKeyGroupsEditor/LIMITS_LIST_LOADED' - } -}); +export const actionTypes = keyMirror( + { + LICENSE_KEY_GROUPS_LIST_LOADED: 'LICENSE_KEY_GROUPS_LIST_LOADED', + LICENSE_KEY_GROUPS_DELETE_CONFIRM: 'LICENSE_KEY_GROUPS_DELETE_CONFIRM', + licenseKeyGroupsEditor: { + OPEN: 'licenseKeyGroupsEditor/OPEN', + CLOSE: 'licenseKeyGroupsEditor/CLOSE', + DATA_CHANGED: 'licenseKeyGroupsEditor/DATA_CHANGED', + LIMITS_LIST_LOADED: 'licenseKeyGroupsEditor/LIMITS_LIST_LOADED' + } + }, + 'licenseKeyGroups' +); export const defaultState = { licenseKeyGroupsEditor: { -- cgit 1.2.3-korg