mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-06 20:08:48 +02:00
Removes download confirmation prompt
This commit is contained in:
@@ -210,14 +210,7 @@ export default {
|
||||
|
||||
console.log('Local folder', JSON.stringify(localFolder))
|
||||
|
||||
var startDownloadMessage = `Start download for "${this.title}" to folder ${localFolder.name}?`
|
||||
const { value } = await Dialog.confirm({
|
||||
title: 'Confirm',
|
||||
message: startDownloadMessage
|
||||
})
|
||||
if (value) {
|
||||
this.startDownload(localFolder)
|
||||
}
|
||||
this.startDownload(localFolder)
|
||||
},
|
||||
async startDownload(localFolder) {
|
||||
var payload = {
|
||||
|
||||
@@ -216,14 +216,7 @@ export default {
|
||||
|
||||
console.log('Local folder', JSON.stringify(localFolder))
|
||||
|
||||
var startDownloadMessage = `Start download for "${this.title}" to folder ${localFolder.name}?`
|
||||
const { value } = await Dialog.confirm({
|
||||
title: 'Confirm',
|
||||
message: startDownloadMessage
|
||||
})
|
||||
if (value) {
|
||||
this.startDownload(localFolder)
|
||||
}
|
||||
this.startDownload(localFolder)
|
||||
},
|
||||
async startDownload(localFolder) {
|
||||
var payload = {
|
||||
|
||||
Reference in New Issue
Block a user