Merge pull request #4372 from vvlladd28/bug/dashboard/ExpressionChangedAfterItHasBeenCheckedError

UI: Fixed error: Expression has changed after it was checked.
This commit is contained in:
Igor Kulikov 2021-04-14 15:57:29 +03:00 committed by GitHub
commit eea073a1ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,7 +80,7 @@
(mousedown)="widgetMouseDown($event, widget)"
(click)="widgetClicked($event, widget)"
(contextmenu)="openWidgetContextMenu($event, widget)">
<div *ngIf="widgetComponent.widgetContext?.inited" fxLayout="row" fxLayoutAlign="space-between start">
<div *ngIf="!!widgetComponent.widgetContext?.inited" fxLayout="row" fxLayoutAlign="space-between start">
<div class="tb-widget-title" fxLayout="column" fxLayoutAlign="center start" *ngIf="widget.showWidgetTitlePanel">
<span *ngIf="widget.showTitle"
[ngClass]="{'single-row': widget.hasTimewindow}"