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