diff --git a/client/components/modals/item/MoveToLibraryModal.vue b/client/components/modals/item/MoveToLibraryModal.vue index a5d8aa18b..f7001b72c 100644 --- a/client/components/modals/item/MoveToLibraryModal.vue +++ b/client/components/modals/item/MoveToLibraryModal.vue @@ -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