mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-10-19 17:22:12 +00:00
default value for total time
This commit is contained in:
1 parent
b13cf62597
commit
a8e36f3acc
1 file changed
+1
-1
+1
-1
@@ -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