From 1dedbdf26f92451a3fb0e737fbbc4852c01d905c Mon Sep 17 00:00:00 2001 From: Yoshie Muranaka Date: Mon, 30 Nov 2020 07:04:01 -0800 Subject: Fix two file switch firmware bug Fixed spelling errors in FirmwareStore Signed-off-by: Yoshie Muranaka Change-Id: I08741ec981f902816c4e4c7063c6e337da9ca9f4 --- src/store/modules/Configuration/FirmwareStore.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/store') diff --git a/src/store/modules/Configuration/FirmwareStore.js b/src/store/modules/Configuration/FirmwareStore.js index be9f50b6..59a421d8 100644 --- a/src/store/modules/Configuration/FirmwareStore.js +++ b/src/store/modules/Configuration/FirmwareStore.js @@ -206,12 +206,12 @@ const FirmwareStore = { throw new Error(i18n.t('pageFirmware.toast.errorUploadAndReboot')); }); }, - async swtichBmcFirmware({ state }) { - const backupLoaction = state.bmcFirmware.backupLoaction; + async switchBmcFirmware({ state }) { + const backupLocation = state.bmcFirmware.backupLocation; const data = { Links: { ActiveSoftwareImage: { - '@odata.id': backupLoaction, + '@odata.id': backupLocation, }, }, }; -- cgit v1.2.3