From 2cad0ce8bd4ae79bde6f78d79bf94f26a79e8691 Mon Sep 17 00:00:00 2001 From: yannfrendo Date: Wed, 22 Nov 2023 18:22:40 +0100 Subject: [PATCH] Bug fix in the map selection Bug fix in the map selection --- .../lib/components/photos-page/actions/change-location.svelte | 1 + web/src/lib/components/shared-components/change-location.svelte | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/lib/components/photos-page/actions/change-location.svelte b/web/src/lib/components/photos-page/actions/change-location.svelte index 0512fcdcf3..35c60152f1 100644 --- a/web/src/lib/components/photos-page/actions/change-location.svelte +++ b/web/src/lib/components/photos-page/actions/change-location.svelte @@ -21,6 +21,7 @@ .map((a) => a.id); try { + await api.assetApi.updateAssets({ assetBulkUpdateDto: { ids, diff --git a/web/src/lib/components/shared-components/change-location.svelte b/web/src/lib/components/shared-components/change-location.svelte index c72b7e957e..8ee3fc2690 100644 --- a/web/src/lib/components/shared-components/change-location.svelte +++ b/web/src/lib/components/shared-components/change-location.svelte @@ -29,7 +29,7 @@ }; const handleConfirm = () => { - dispatch('confirm', { lat, lng }); + dispatch('confirm', point); };