Browse Source

Additions to fixes after review

pull/3701/head
Dmitriymush 6 years ago
parent
commit
65027b9c17
  1. 2
      ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.html
  2. 2
      ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts

2
ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.html

@ -32,7 +32,7 @@
[ngStyle]="{'background-color': settings.tooltipColor, 'opacity': settings.tooltipOpacity, 'color': settings.tooltipFontColor}">
<div *ngFor="let mainTooltip of mainTooltips"
[innerHTML]="mainTooltip"
ngStyle="{'padding': '10px 0'}">
style="padding: 10px 0">
</div>
</div>
</div>

2
ui-ngx/src/app/modules/home/components/widget/trip-animation/trip-animation.component.ts

@ -234,8 +234,8 @@ export class TripAnimationComponent implements OnInit, AfterViewInit, OnDestroy
if(isMainTooltip) {
this.mainTooltips.push(this.sanitizer.sanitize(SecurityContext.HTML, tooltipText));
}
this.cd.detectChanges();
}
this.cd.detectChanges();
return tooltipText;
}

Loading…
Cancel
Save