mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-23 15:10:31 -04:00
Update bulk download to not open in new tab
This commit is contained in:
parent
ff36a9327c
commit
3b7db82bf0
@ -255,7 +255,7 @@ export default {
|
|||||||
async batchDownload() {
|
async batchDownload() {
|
||||||
const libraryItemIds = this.selectedMediaItems.map((i) => i.id)
|
const libraryItemIds = this.selectedMediaItems.map((i) => i.id)
|
||||||
console.log('Downloading library items', libraryItemIds)
|
console.log('Downloading library items', libraryItemIds)
|
||||||
this.$downloadFile(`/api/libraries/${this.$store.state.libraries.currentLibraryId}/download?token=${this.$store.getters['user/getToken']}&ids=${libraryItemIds.join(',')}`, null, true)
|
this.$downloadFile(`/api/libraries/${this.$store.state.libraries.currentLibraryId}/download?token=${this.$store.getters['user/getToken']}&ids=${libraryItemIds.join(',')}`)
|
||||||
},
|
},
|
||||||
async playSelectedItems() {
|
async playSelectedItems() {
|
||||||
this.$store.commit('setProcessingBatch', true)
|
this.$store.commit('setProcessingBatch', true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user