fix: Chart oddity where a different timeframe couldn't be selected.
Some checks are pending
FreqUI CI / build (18, ubuntu-22.04) (push) Waiting to run
FreqUI CI / build (20, ubuntu-22.04) (push) Waiting to run
FreqUI CI / build (22, ubuntu-22.04) (push) Waiting to run
FreqUI CI / build (23, ubuntu-22.04) (push) Waiting to run

This commit is contained in:
Matthias 2024-10-31 07:00:45 +01:00
parent 566df2265a
commit c4bedc59b8

View File

@ -30,11 +30,8 @@ const availablePairs = computed<string[]>(() => {
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();
}