mirror of https://github.com/Kylart/KawAnime.git
Fixed really weird bug where quality was not reset after download outside downloader
This commit is contained in:
parent
ac22505e3a
commit
988e6e849f
|
@ -114,6 +114,9 @@
|
|||
: !this.selected.includes(magnet) && this.selected.push(magnet)
|
||||
})
|
||||
}
|
||||
},
|
||||
beforeDestroy () {
|
||||
console.log('Destroyed')
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
|
|
@ -20,7 +20,7 @@ export default {
|
|||
|
||||
const infos = {
|
||||
name: name,
|
||||
quality: quality,
|
||||
quality: quality || rootState.config.config.quality,
|
||||
fromEp: +fromEp,
|
||||
untilEp: +untilEp,
|
||||
fansub: rootState.config.config.fansub,
|
||||
|
@ -61,7 +61,7 @@ export default {
|
|||
choice: 'pantsu'
|
||||
})
|
||||
|
||||
if (status === 200) {
|
||||
if (status === 200 && data.magnets.length) {
|
||||
log(`Request fulfilled!`)
|
||||
|
||||
if (magnets === true) {
|
||||
|
@ -84,6 +84,8 @@ export default {
|
|||
|
||||
commit('setInfoSnackbar', 'Sorry. KawAnime was not able to get your torrents...', isRoot)
|
||||
}
|
||||
} else {
|
||||
commit('setInfoSnackbar', 'Could not find anything, please try again.', isRoot)
|
||||
}
|
||||
|
||||
commit(failed ? 'toggleLoading' : 'resetForm')
|
||||
|
|
Loading…
Reference in New Issue