Commit 33b1cee2d018a277d7179e3d6fcd4600f0dd99dc

Authored by Dmitriymush
1 parent 643563ec

bug-fix: trip animation for multiple devices

@@ -241,11 +241,6 @@ export class TripAnimationComponent implements OnInit, AfterViewInit, OnDestroy @@ -241,11 +241,6 @@ export class TripAnimationComponent implements OnInit, AfterViewInit, OnDestroy
241 } 241 }
242 242
243 calcLabel(formattedDataArr: FormattedData[]) { 243 calcLabel(formattedDataArr: FormattedData[]) {
244 - // const data = this.activeTrip;  
245 - // const labelText: string = this.settings.useLabelFunction ?  
246 - // safeExecute(this.settings.labelFunction, [data, this.historicalData, data.dsIndex]) : this.settings.label;  
247 - // this.label = (parseWithTranslation.parseTemplate(labelText, data, true));  
248 - // console.log(this.label, 'this.label');  
249 this.label = ''; 244 this.label = '';
250 for (let formattedData of formattedDataArr) { 245 for (let formattedData of formattedDataArr) {
251 const data = formattedData; 246 const data = formattedData;