remember split type, part of #145
This commit is contained in:
parent
c1a5bdd7ae
commit
453ae55db0
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue