mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-01 08:12:32 +00:00
fix mismatch between file content and selection
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
let fileStore = $fileObservers.get(fileId);
|
||||
if (fileStore) {
|
||||
let file = get(fileStore)?.file;
|
||||
if (file) {
|
||||
if (file && trackIndex < file.trk.length) {
|
||||
canMergeTraces = file.trk[trackIndex].getSegments().length > 1;
|
||||
} else {
|
||||
canMergeTraces = false;
|
||||
|
Reference in New Issue
Block a user