From 48a3972315ffafde014258827900560c129fd68c Mon Sep 17 00:00:00 2001 From: Kylart Date: Fri, 16 Mar 2018 02:02:19 +0100 Subject: [PATCH] Fix downloader to use the right quality --- pages/downloader.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pages/downloader.vue b/pages/downloader.vue index 947fc7c..d867d43 100644 --- a/pages/downloader.vue +++ b/pages/downloader.vue @@ -81,12 +81,9 @@ : this.$refs.name.focus() }, download () { - const quality = this.quality + this.$store.commit('downloader/setQuality', this.quality) this.$store.dispatch('downloader/download') - .then(() => { - this.$store.commit('downloader/setQuality', quality) - }) }, next (number) { switch (number) {