diff --git a/ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts b/ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts index c8afaee548..8690119e87 100644 --- a/ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts +++ b/ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts @@ -103,7 +103,7 @@ export class TripAnimationComponent implements OnInit, AfterViewInit { this.historicalData = parseArray(this.ctx.data).filter(arr => arr.length); if (this.historicalData.length) { this.calculateIntervals(); - this.timeUpdated(this.currentTime ? this.currentTime : this.minTime); + this.timeUpdated(this.currentTime && this.currentTime > this.minTime ? this.currentTime : this.minTime); } this.mapWidget.map.map?.invalidateSize(); this.cd.detectChanges();