mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
remember split type, part of #145
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
{ value: SplitType.SEGMENTS, label: $_('gpx.segments') }
|
{ value: SplitType.SEGMENTS, label: $_('gpx.segments') }
|
||||||
];
|
];
|
||||||
|
|
||||||
let splitType = splitTypes[0];
|
let splitType = splitTypes.find((type) => type.value === $splitAs) ?? splitTypes[0];
|
||||||
|
|
||||||
$: splitAs.set(splitType.value);
|
$: splitAs.set(splitType.value);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user