Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(geomap): clone dropped note under the map instead of itself
Elian Doran706b7bd82d39
diff --git a/apps/client/src/widgets/collections/geomap/index.tsx b/apps/client/src/widgets/collections/geomap/index.tsxindex 5ce5a3c015..2dc2e54795 100644--- a/apps/client/src/widgets/collections/geomap/index.tsx+++ b/apps/client/src/widgets/collections/geomap/index.tsx@@ -127,7 +127,7 @@ export default function GeoView({ note, noteIds, viewConfig, saveConfig }: ViewMif (parents?.includes(note.noteId)) {await moveMarker(noteId, latlng);} else {- await branches.cloneNoteToParentNote(noteId, noteId);+ await branches.cloneNoteToParentNote(noteId, note.noteId);await moveMarker(noteId, latlng);}}