fix: category download folder #435

This commit is contained in:
Daan Wijns 2022-06-11 10:35:01 +02:00
parent acc07335d3
commit 5a0ec26ddb

View file

@ -272,7 +272,7 @@ export default {
savepath() {
let savePath = this.getSettings().save_path
if (this.category) {
savePath = this.category.savePath
savePath = this.category.save_path
}
return savePath
@ -296,11 +296,10 @@ export default {
await this.$store.dispatch('FETCH_SETTINGS')
await this.$store.commit('FETCH_CATEGORIES')
const settings = this.getSettings()
console.log(settings)
this.start = !settings.start_paused_enabled
this.autoTMM = settings.auto_tmm_enabled
this.root_folder = settings.create_subfolder_enabled
this.directory = settings.save_path
this.directory = this.savepath
},
addDropFile(e) {
this.showWrapDrag = false
@ -344,7 +343,7 @@ export default {
}
},
categoryChanged() {
if (this.autoTMM) this.directory = this.savepath
this.directory = this.savepath
},
resetForm() {
this.url = null