mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-17 16:42:28 +00:00
remember split type, part of #145
This commit is contained in:
1 parent
c1a5bdd7ae
commit
453ae55db0
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user