default value for total time
This commit is contained in:
parent
b13cf62597
commit
a8e36f3acc
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue