mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-21 23:53:52 +00:00
fix: Chart oddity where a different timeframe couldn't be selected.
This commit is contained in:
parent
566df2265a
commit
c4bedc59b8
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user