From 2da3e9bf5280c3f438f8b389762355e366d5c653 Mon Sep 17 00:00:00 2001 From: David Eder Date: Sun, 13 Jun 2021 18:51:59 +0200 Subject: [PATCH] Fix empty car event type --- .../src/app/component/landing/landing.component.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/components/control_center/src/app/component/landing/landing.component.ts b/components/control_center/src/app/component/landing/landing.component.ts index b54abce..1c67bb4 100644 --- a/components/control_center/src/app/component/landing/landing.component.ts +++ b/components/control_center/src/app/component/landing/landing.component.ts @@ -173,9 +173,10 @@ export class LandingComponent implements OnInit { private getEmptyCarEvent(): CarEvent { return { - near_crash_event: false, - gps_location: this.getEmptyGeoCoordinates(), - timestamp: '' + near_crash_event: false, + gps_location: this.getEmptyGeoCoordinates(), + timestamp: '', + velocity: 0 }; }