mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-12-05 14:26:31 +01:00
Removes download confirmation prompt
This commit is contained in:
1 parent
89938ab120
commit
5067c0f6d7
2 files changed
+2
-16
No files matched your search
@@ -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