commit | 68cbbe9014cbdcf7229a878f564d38f6d6199f25 | [log] [tgz] |
---|---|---|
author | Sandeepa Singh <sandeepa.singh@ibm.com> | Wed Jul 14 16:02:22 2021 +0530 |
committer | Derick Montague <derick.montague@ibm.com> | Tue Aug 10 19:20:42 2021 +0000 |
tree | cd7138959f405cb44b5d62000da9d364ed238b91 | |
parent | 7affc529b7fba41193c4d48764707e9961cdd22d [diff] |
IA update: Update control section to operations This is the third update to the information architecture changes and has the following changes: - The control section has been updated to operations - The server led page has been removed - The firmware page is moved to operations section Signed-off-by: Sandeepa Singh <sandeepa.singh@ibm.com> Change-Id: I2e23da447890d7bee51892e1f782d5f2db6dded4
diff --git a/src/store/modules/HardwareStatus/ServerLedStore.js b/src/store/modules/HardwareStatus/ServerLedStore.js index a8903e2..028a6f7 100644 --- a/src/store/modules/HardwareStatus/ServerLedStore.js +++ b/src/store/modules/HardwareStatus/ServerLedStore.js
@@ -32,20 +32,17 @@ .patch('/redfish/v1/Systems/system', { LocationIndicatorActive: payload, }) - .then(() => { - if (payload) { - return i18n.t('pageServerLed.toast.successServerLedOn'); - } else { - return i18n.t('pageServerLed.toast.successServerLedOff'); - } - }) .catch((error) => { console.log(error); commit('setIndicatorLedActiveState', !payload); if (payload) { - throw new Error(i18n.t('pageServerLed.toast.errorServerLedOn')); + throw new Error( + i18n.t('pageInventory.toast.errorEnableIdentifyLed') + ); } else { - throw new Error(i18n.t('pageServerLed.toast.errorServerLedOff')); + throw new Error( + i18n.t('pageInventory.toast.errorDisableIdentifyLed') + ); } }); },
diff --git a/src/store/modules/Control/BootSettingsStore.js b/src/store/modules/Operations/BootSettingsStore.js similarity index 100% rename from src/store/modules/Control/BootSettingsStore.js rename to src/store/modules/Operations/BootSettingsStore.js
diff --git a/src/store/modules/Control/ControlStore.js b/src/store/modules/Operations/ControlStore.js similarity index 100% rename from src/store/modules/Control/ControlStore.js rename to src/store/modules/Operations/ControlStore.js
diff --git a/src/store/modules/Control/FactoryResetStore.js b/src/store/modules/Operations/FactoryResetStore.js similarity index 100% rename from src/store/modules/Control/FactoryResetStore.js rename to src/store/modules/Operations/FactoryResetStore.js
diff --git a/src/store/modules/Configuration/FirmwareStore.js b/src/store/modules/Operations/FirmwareStore.js similarity index 100% rename from src/store/modules/Configuration/FirmwareStore.js rename to src/store/modules/Operations/FirmwareStore.js
diff --git a/src/store/modules/Control/PowerControlStore.js b/src/store/modules/Operations/PowerControlStore.js similarity index 100% rename from src/store/modules/Control/PowerControlStore.js rename to src/store/modules/Operations/PowerControlStore.js
diff --git a/src/store/modules/Control/PowerPolicyStore.js b/src/store/modules/Operations/PowerPolicyStore.js similarity index 100% rename from src/store/modules/Control/PowerPolicyStore.js rename to src/store/modules/Operations/PowerPolicyStore.js
diff --git a/src/store/modules/Control/VirtualMediaStore.js b/src/store/modules/Operations/VirtualMediaStore.js similarity index 100% rename from src/store/modules/Control/VirtualMediaStore.js rename to src/store/modules/Operations/VirtualMediaStore.js