Browse Source

bug-fix: trip animation for multiple devices

pull/3701/head
Dmitriymush 6 years ago
parent
commit
33b1cee2d0
  1. 5
      ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts

5
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;

Loading…
Cancel
Save