From 6eddc61f249fb2a5390f5a42f422621f9d722657 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 6 Nov 2021 16:19:01 +0100 Subject: [PATCH] Don't run `.then` if we're not using it --- src/views/Graphs.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/Graphs.vue b/src/views/Graphs.vue index a597ebb4..1a95b416 100644 --- a/src/views/Graphs.vue +++ b/src/views/Graphs.vue @@ -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); + // }); } } }