From c4bedc59b8385f01b7fcc32416fa6ffb1d6539f0 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 31 Oct 2024 07:00:45 +0100 Subject: [PATCH] fix: Chart oddity where a different timeframe couldn't be selected. --- src/views/ChartsView.vue | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/ChartsView.vue b/src/views/ChartsView.vue index 77e3ca28..cb6ba023 100644 --- a/src/views/ChartsView.vue +++ b/src/views/ChartsView.vue @@ -30,11 +30,8 @@ const availablePairs = computed(() => { onMounted(() => { if (botStore.activeBot.isWebserverMode) { - // this.refresh(); - botStore.activeBot.getAvailablePairs({ timeframe: botStore.activeBot.timeframe }); - // .then((val) => { - // console.log(val); - // }); + // Get available pairs for all timeframes + botStore.activeBot.getAvailablePairs({}); } else if (!botStore.activeBot.whitelist || botStore.activeBot.whitelist.length === 0) { botStore.activeBot.getWhitelist(); }