mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-08-31 23:53:25 +00:00
default value for total time
This commit is contained in:
@@ -632,7 +632,7 @@ export class TrackSegment extends GPXTreeLeaf {
|
||||
|
||||
// time
|
||||
if (points[i].time === undefined) {
|
||||
statistics.local.time.total.push(undefined);
|
||||
statistics.local.time.total.push(0);
|
||||
} else {
|
||||
if (statistics.global.time.start === undefined) {
|
||||
statistics.global.time.start = points[i].time;
|
||||
|
Reference in New Issue
Block a user