mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-02-28 21:19:42 +00:00
Fix: switch to current library view instead of target library when moving
This commit is contained in:
parent
d8c89f2b8e
commit
5506026fd4
1 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ export default {
|
|||
// Clear selection after batch move
|
||||
this.$store.commit('globals/resetSelectedMediaItems')
|
||||
if (response.successCount > 0) {
|
||||
this.$router.push(`/library/${this.selectedLibraryId}`)
|
||||
this.$router.push(`/library/${this.currentLibraryId}`)
|
||||
}
|
||||
} else {
|
||||
// Single item move
|
||||
|
|
@ -219,7 +219,7 @@ export default {
|
|||
if (response.success) {
|
||||
this.$toast.success(this.$strings.ToastItemMoved)
|
||||
this.$store.commit('setSelectedLibraryItem', null)
|
||||
this.$router.push(`/library/${this.selectedLibraryId}`)
|
||||
this.$router.push(`/library/${this.currentLibraryId}`)
|
||||
}
|
||||
}
|
||||
this.show = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue