diff options
Diffstat (limited to 'src/store/modules/HardwareStatus/SystemStore.js')
-rw-r--r-- | src/store/modules/HardwareStatus/SystemStore.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/store/modules/HardwareStatus/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js index ddf0e20f..f1382348 100644 --- a/src/store/modules/HardwareStatus/SystemStore.js +++ b/src/store/modules/HardwareStatus/SystemStore.js @@ -39,7 +39,7 @@ const SystemStore = { return await api .get('/redfish/v1') .then((response) => - api.get(`${response.data.Systems['@odata.id']}/system`) + api.get(`${response.data.Systems['@odata.id']}/system`), ) .then(({ data }) => commit('setSystemInfo', data)) .catch((error) => console.log(error)); @@ -54,11 +54,11 @@ const SystemStore = { console.log('error', error); if (ledState) { 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'), ); } }); |