fix(geomap): multiple clicks creating multiple markers

This commit is contained in:
Elian Doran 2025-01-20 23:54:22 +02:00
parent 986a1c25be
commit ef5b2d60f3
No known key found for this signature in database

View File

@ -125,6 +125,7 @@ export default class GeoMapTypeWidget extends TypeWidget {
const { noteId } = this.clipboard;
await attributes.setLabel(noteId, LOCATION_ATTRIBUTE, [e.latlng.lat, e.latlng.lng].join(","));
this.clipboard = undefined;
}
getData(): any {