fix(geomap): multiple clicks creating multiple markers

pull/1017/head
Elian Doran 2025-01-20 23:54:22 +07:00
parent 986a1c25be
commit ef5b2d60f3
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

@ -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 {