From 9fc8565cfe08d759b611d9f4368485f801d6f867 Mon Sep 17 00:00:00 2001 From: NSUWAL123 Date: Fri, 13 Dec 2024 09:42:49 +0545 Subject: [PATCH] fix(basemaps): use target instead of originalTarget --- src/mapper/src/lib/components/offline/basemaps.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapper/src/lib/components/offline/basemaps.svelte b/src/mapper/src/lib/components/offline/basemaps.svelte index ed827b84e..f8af87e6a 100644 --- a/src/mapper/src/lib/components/offline/basemaps.svelte +++ b/src/mapper/src/lib/components/offline/basemaps.svelte @@ -46,7 +46,7 @@ { - const selectedId = event.originalTarget.value; + const selectedId = event.target.value; selectedBasemap = basemapStore.projectBasemaps?.find((basemap: Basemap) => basemap.id === selectedId) || null; }} >