Fix downloader to use the right quality

This commit is contained in:
Kylart 2018-03-16 02:02:19 +01:00
parent 5074ce77ad
commit 48a3972315
1 changed files with 1 additions and 4 deletions

View File

@ -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) {