Reduce lint errors

This commit is contained in:
Matthias 2023-05-08 20:21:19 +02:00
parent 7400e00796
commit f3e324a152
2 changed files with 3 additions and 3 deletions

View File

@ -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]);

View File

@ -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 {