From 33b1cee2d018a277d7179e3d6fcd4600f0dd99dc Mon Sep 17 00:00:00 2001 From: Dmitriymush Date: Wed, 11 Nov 2020 13:27:18 +0200 Subject: [PATCH] bug-fix: trip animation for multiple devices --- .../widget/trip-animation/trip-animation.component.ts | 5 ----- 1 file changed, 5 deletions(-) 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 b51cda6cbb..a392481259 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 @@ -241,11 +241,6 @@ export class TripAnimationComponent implements OnInit, AfterViewInit, OnDestroy } calcLabel(formattedDataArr: FormattedData[]) { - // const data = this.activeTrip; - // const labelText: string = this.settings.useLabelFunction ? - // safeExecute(this.settings.labelFunction, [data, this.historicalData, data.dsIndex]) : this.settings.label; - // this.label = (parseWithTranslation.parseTemplate(labelText, data, true)); - // console.log(this.label, 'this.label'); this.label = ''; for (let formattedData of formattedDataArr) { const data = formattedData;