mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-01 05:29:41 +00:00
Fix bugs
This commit is contained in:
parent
4a34716e58
commit
7cc476a6ed
3 changed files with 4 additions and 0 deletions
|
|
@ -239,6 +239,8 @@ export default {
|
|||
}
|
||||
},
|
||||
batchMoveToLibrary() {
|
||||
// Clear any single library item that might be lingering
|
||||
this.$store.commit('setSelectedLibraryItem', null)
|
||||
// Open the move to library modal - it will pick up items from selectedMediaItems
|
||||
this.$store.commit('globals/setShowMoveToLibraryModal', true)
|
||||
},
|
||||
|
|
|
|||
|
|
@ -695,6 +695,7 @@ export default {
|
|||
}
|
||||
|
||||
this.libraryItem = libraryItem
|
||||
this.selected = this.store.state.globals.selectedMediaItems.some((i) => i.id === this.libraryItemId)
|
||||
|
||||
this.$nextTick(() => {
|
||||
if (this.$refs.displayTitle) {
|
||||
|
|
|
|||
|
|
@ -158,6 +158,7 @@ export default {
|
|||
const response = await this.$axios.$post(`/api/items/${this.libraryItem.id}/move`, payload)
|
||||
if (response.success) {
|
||||
this.$toast.success(this.$strings.ToastItemMoved)
|
||||
this.$store.commit('setSelectedLibraryItem', null)
|
||||
}
|
||||
}
|
||||
this.show = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue