mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-03 17:12:31 +00:00
reactive modifications
This commit is contained in:
@@ -230,7 +230,7 @@
|
||||
});
|
||||
|
||||
$: if (chart && $settings) {
|
||||
let gpxFiles = new GPXFiles(Array.from($selectedFiles).map((file) => get(file)));
|
||||
let gpxFiles = new GPXFiles(Array.from($selectedFiles));
|
||||
gpxFiles.files.sort(function (a, b) {
|
||||
return get(fileOrder).indexOf(a) - get(fileOrder).indexOf(b);
|
||||
});
|
||||
|
Reference in New Issue
Block a user