From ed48fd8558609c11f0a33f277ab86e2f71b975fb Mon Sep 17 00:00:00 2001 From: Tiberiu Ichim Date: Sun, 22 Feb 2026 17:37:22 +0200 Subject: [PATCH] Update: switch to target library view after moving items --- client/components/modals/item/MoveToLibraryModal.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/components/modals/item/MoveToLibraryModal.vue b/client/components/modals/item/MoveToLibraryModal.vue index 177c52d88..a5d8aa18b 100644 --- a/client/components/modals/item/MoveToLibraryModal.vue +++ b/client/components/modals/item/MoveToLibraryModal.vue @@ -210,12 +210,16 @@ export default { } // Clear selection after batch move this.$store.commit('globals/resetSelectedMediaItems') + if (response.successCount > 0) { + this.$router.push(`/library/${this.selectedLibraryId}`) + } } else { // Single item move 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.$router.push(`/library/${this.selectedLibraryId}`) } } this.show = false