Browse Source

Remove dashboard-select component from the DOM-structure when it is hedden

pull/7863/head
Tarnavskiy 4 years ago
parent
commit
d8ada35182
  1. 2
      ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html

2
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-page.component.html

@ -135,7 +135,7 @@
(click)="openDashboardSettings($event)">
<mat-icon>settings</mat-icon>
</button>
<tb-dashboard-select [fxShow]="!isEdit && !widgetEditMode && !embedded && displayDashboardsSelect()"
<tb-dashboard-select *ngIf="!isEdit && !widgetEditMode && !embedded && displayDashboardsSelect()"
[(ngModel)]="currentDashboardId"
(ngModelChange)="currentDashboardIdChanged(currentDashboardId)"
[customerId]="currentCustomerId"

Loading…
Cancel
Save