Don't run .then if we're not using it

This commit is contained in:
Matthias 2021-11-06 16:19:01 +01:00
parent d659436e3f
commit 6eddc61f24

View File

@ -81,9 +81,10 @@ export default class Graphs extends Vue {
}
if (this.historicView) {
// this.refresh();
this.getAvailablePairs({ timeframe: this.timeframe }).then((val) => {
// console.log(val);
});
this.getAvailablePairs({ timeframe: this.timeframe });
// .then((val) => {
// console.log(val);
// });
}
}
}