mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-26 13:05:15 +00:00
Reduce lint errors
This commit is contained in:
parent
7400e00796
commit
f3e324a152
|
@ -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]);
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user