summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus/ChassisStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/HardwareStatus/ChassisStore.js')
-rw-r--r--src/store/modules/HardwareStatus/ChassisStore.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/store/modules/HardwareStatus/ChassisStore.js b/src/store/modules/HardwareStatus/ChassisStore.js
index 97930d2e..6f2d74a2 100644
--- a/src/store/modules/HardwareStatus/ChassisStore.js
+++ b/src/store/modules/HardwareStatus/ChassisStore.js
@@ -56,7 +56,7 @@ const ChassisStore = {
return await api
.get('/redfish/v1/Chassis')
.then(({ data: { Members = [] } }) =>
- Members.map((member) => api.get(member['@odata.id']))
+ Members.map((member) => api.get(member['@odata.id'])),
)
.then((promises) => api.all(promises))
.then((response) => {
@@ -78,11 +78,11 @@ const ChassisStore = {
console.log('error', error);
if (led.identifyLed) {
throw new Error(
- i18n.t('pageInventory.toast.errorEnableIdentifyLed')
+ i18n.t('pageInventory.toast.errorEnableIdentifyLed'),
);
} else {
throw new Error(
- i18n.t('pageInventory.toast.errorDisableIdentifyLed')
+ i18n.t('pageInventory.toast.errorDisableIdentifyLed'),
);
}
});