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(() => { onMounted(() => {
if (botStore.activeBot.isWebserverMode) { if (botStore.activeBot.isWebserverMode) {
// this.refresh(); // Get available pairs for all timeframes
botStore.activeBot.getAvailablePairs({ timeframe: botStore.activeBot.timeframe }); botStore.activeBot.getAvailablePairs({});
// .then((val) => {
// console.log(val);
// });
} else if (!botStore.activeBot.whitelist || botStore.activeBot.whitelist.length === 0) { } else if (!botStore.activeBot.whitelist || botStore.activeBot.whitelist.length === 0) {
botStore.activeBot.getWhitelist(); botStore.activeBot.getWhitelist();
} }