diff --git a/src/shared/charts/areaPlotDataset.ts b/src/shared/charts/areaPlotDataset.ts index d667f365..1fddd43e 100644 --- a/src/shared/charts/areaPlotDataset.ts +++ b/src/shared/charts/areaPlotDataset.ts @@ -33,7 +33,7 @@ export function getDiffColumnsFromPlotConfig(plotConfig: PlotConfig): string[][] }); } if ('subplots' in plotConfig) { - Object.entries(plotConfig.subplots).forEach(([_, subplots]) => { + Object.values(plotConfig.subplots).forEach((subplots) => { Object.entries(subplots).forEach(([key, value]) => { if (value.fill_to) { result.push([key, value.fill_to]); diff --git a/src/stores/ftbotwrapper.ts b/src/stores/ftbotwrapper.ts index 397b9634..00651002 100644 --- a/src/stores/ftbotwrapper.ts +++ b/src/stores/ftbotwrapper.ts @@ -283,7 +283,7 @@ export const useBotStore = defineStore('ftbot-wrapper', { }, async pingAll() { await Promise.all( - Object.entries(this.botStores).map(async ([_, v]) => { + Object.values(this.botStores).map(async (v) => { try { await v.fetchPing(); } catch { @@ -293,7 +293,7 @@ export const useBotStore = defineStore('ftbot-wrapper', { ); }, allGetState() { - Object.entries(this.botStores).map(async ([_, v]) => { + Object.values(this.botStores).map(async (v) => { try { await v.getState(); } catch {