Skip to content

Commit

Permalink
fix(basemaps): use target instead of originalTarget
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 committed Dec 13, 2024
1 parent 05638a7 commit 9fc8565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapper/src/lib/components/offline/basemaps.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<sl-select
placeholder="Select a basemap"
onsl-change={(event: SlSelectEvent) => {
const selectedId = event.originalTarget.value;
const selectedId = event.target.value;
selectedBasemap = basemapStore.projectBasemaps?.find((basemap: Basemap) => basemap.id === selectedId) || null;
}}
>
Expand Down

0 comments on commit 9fc8565

Please sign in to comment.