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