mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-09 17:52:32 +08:00
fix(geomap): multiple clicks creating multiple markers
This commit is contained in:
parent
986a1c25be
commit
ef5b2d60f3
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user