diff options
Diffstat (limited to 'src/store/modules/HardwareStatus/SystemStore.js')
-rw-r--r-- | src/store/modules/HardwareStatus/SystemStore.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/store/modules/HardwareStatus/SystemStore.js b/src/store/modules/HardwareStatus/SystemStore.js index f1382348..ea519d73 100644 --- a/src/store/modules/HardwareStatus/SystemStore.js +++ b/src/store/modules/HardwareStatus/SystemStore.js @@ -49,6 +49,13 @@ const SystemStore = { .patch('/redfish/v1/Systems/system', { LocationIndicatorActive: ledState, }) + .then(() => { + if (ledState) { + return i18n.t('pageInventory.toast.successEnableIdentifyLed'); + } else { + return i18n.t('pageInventory.toast.successDisableIdentifyLed'); + } + }) .catch((error) => { commit('setSystemInfo', this.state.system.systems[0]); console.log('error', error); |