Persist waypoint note from GPX drag-drop import

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-05-18 07:30:31 +02:00
parent 112a8ab714
commit 845301f0ae
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -53,6 +53,7 @@ export function useGpxDrop(yjs: YjsState, onImportError?: (message: string) => v
yMap.set("lon", wp.lon);
if (wp.name) yMap.set("name", wp.name);
if (wp.isDayBreak) yMap.set("overnight", true);
if (wp.note) yMap.set("note", wp.note);
yjs.waypoints.push([yMap]);
}