summaryrefslogtreecommitdiff
path: root/src/store/modules/HardwareStatus/PowerSupplyStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/HardwareStatus/PowerSupplyStore.js')
-rw-r--r--src/store/modules/HardwareStatus/PowerSupplyStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/HardwareStatus/PowerSupplyStore.js b/src/store/modules/HardwareStatus/PowerSupplyStore.js
index dc7691da..82b71746 100644
--- a/src/store/modules/HardwareStatus/PowerSupplyStore.js
+++ b/src/store/modules/HardwareStatus/PowerSupplyStore.js
@@ -50,7 +50,7 @@ const PowerSupplyStore = {
return await api
.get('/redfish/v1/Chassis')
.then(({ data: { Members } }) =>
- Members.map((member) => member['@odata.id'])
+ Members.map((member) => member['@odata.id']),
)
.catch((error) => console.log(error));
},
@@ -62,7 +62,7 @@ const PowerSupplyStore = {
.then((supplies) => {
let suppliesList = [];
supplies.forEach(
- (supply) => (suppliesList = [...suppliesList, ...supply])
+ (supply) => (suppliesList = [...suppliesList, ...supply]),
);
commit('setPowerSupply', suppliesList);
})