mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
fix(geomap): multiple clicks creating multiple markers
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user