remember split type, part of #145

This commit is contained in:
vcoppe
2025-01-25 13:35:21 +01:00
parent c1a5bdd7ae
commit 453ae55db0

View File

@@ -96,7 +96,7 @@
{ value: SplitType.SEGMENTS, label: $_('gpx.segments') }
];
let splitType = splitTypes[0];
let splitType = splitTypes.find((type) => type.value === $splitAs) ?? splitTypes[0];
$: splitAs.set(splitType.value);