Skip to content

Commit

Permalink
fix: Chart oddity where a different timeframe couldn't be selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
xmatthias committed Oct 31, 2024
1 parent 566df22 commit c4bedc5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/views/ChartsView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit c4bedc5

Please sign in to comment.