From 651b469ff47b35ac7622d146b2a16a0b69e77d8c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Fri, 24 Jul 2026 10:52:04 +0200 Subject: [PATCH 1/4] fix: 'Add contact address' button in map popup not working MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When clicking on the map, the ClickSearchPopup opens with an 'Add contact address' option. Clicking it previously did nothing because the click event propagated to the map container, triggering onMapNormalLeftClick which reset the placingContact state, immediately destroying the PlaceContactPopup before the user could interact with it. Add @click.stop on the ClickSearchPopup button to prevent the click from bubbling up to the map's event handler. Signed-off-by: Simó Albert i Beltran --- src/components/map/ClickSearchPopup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/ClickSearchPopup.vue b/src/components/map/ClickSearchPopup.vue index 8674e783e..496ffd1e0 100644 --- a/src/components/map/ClickSearchPopup.vue +++ b/src/components/map/ClickSearchPopup.vue @@ -12,7 +12,7 @@ {{ t('maps', 'Add to favorites') }} - From 812fe4ea114f608e2ead5b66c717494e701947e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Fri, 24 Jul 2026 12:04:17 +0200 Subject: [PATCH 2/4] fix: 404 error for default contact placement marker icon MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The /svg/core/actions/user endpoint does not exist in Nextcloud, causing a 404 when the PlaceContactPopup renders with no contact selected. Use the existing /apps/maps/contacts-avatar endpoint as the fallback icon source instead. Signed-off-by: Simó Albert i Beltran --- src/components/map/PlaceContactPopup.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/map/PlaceContactPopup.vue b/src/components/map/PlaceContactPopup.vue index 5d459388f..5021f08f3 100644 --- a/src/components/map/PlaceContactPopup.vue +++ b/src/components/map/PlaceContactPopup.vue @@ -109,7 +109,7 @@ export default { ? this.getContactAvatar(this.selectedContact) ? this.getContactAvatar(this.selectedContact) : generateUrl('/apps/maps/contacts-avatar?name=' + encodeURIComponent(this.selectedContact.FN)) - : generateUrl('/svg/core/actions/user?color=000000') + : generateUrl('/apps/maps/contacts-avatar?name=') }, markerIcon() { return L.icon({ From d4a0d5bb9d0e433555771f68599b35cbc4da1beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sim=C3=B3=20Albert=20i=20Beltran?= Date: Fri, 24 Jul 2026 17:33:52 +0200 Subject: [PATCH 3/4] fix: contact dropdown search not working MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use label instead of inputLabel on NcSelect to specify the option property key used for display and filtering. inputLabel only sets the visible