From 2001c44838af7e33aa5bf77b874706456cf31e67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Sat, 9 Nov 2024 15:19:41 +0100 Subject: [PATCH] Improvements (#2655) --- .../forms/photo/PhotoCopyDialog.vue | 9 +++--- .../js/components/headers/AlbumHeader.vue | 3 +- .../js/components/headers/AlbumsHeader.vue | 6 ++-- resources/js/router/routes.ts | 31 ++++++++++--------- 4 files changed, 25 insertions(+), 24 deletions(-) diff --git a/resources/js/components/forms/photo/PhotoCopyDialog.vue b/resources/js/components/forms/photo/PhotoCopyDialog.vue index 308760e0a22..0f9f5e455ee 100644 --- a/resources/js/components/forms/photo/PhotoCopyDialog.vue +++ b/resources/js/components/forms/photo/PhotoCopyDialog.vue @@ -13,11 +13,11 @@
-
+
{{ question }} - +

{{ "No album to copy to." }}

@@ -96,14 +96,13 @@ function execute() { PhotoService.copy(destination_id.value, photoCopiedIds).then(() => { toast.add({ severity: "success", - summary: "Photo moved", + summary: "Photo copied", life: 3000, }); - // Clear the cache for the current album and the destination album + // Clear the cache for the destination album AlbumService.clearCache(destination_id.value); emits("copy"); - // Todo emit that we moved things. }); } diff --git a/resources/js/components/headers/AlbumHeader.vue b/resources/js/components/headers/AlbumHeader.vue index 930c7f4f4d4..e38f1622e29 100644 --- a/resources/js/components/headers/AlbumHeader.vue +++ b/resources/js/components/headers/AlbumHeader.vue @@ -1,5 +1,5 @@