|
|
|
@ -196,14 +196,13 @@ |
|
|
|
</tb-dashboard-layout> |
|
|
|
</mat-drawer-content> |
|
|
|
</mat-drawer-container> |
|
|
|
<section data-html2canvas-ignore fxLayout="row" class="layout-wrap tb-footer-buttons" fxLayoutAlign="start end"> |
|
|
|
<tb-footer-fab-buttons *ngIf="!embedded && !isMobileApp" |
|
|
|
[fxShow]="!isAddingWidget && isEdit && !widgetEditMode" |
|
|
|
<section data-html2canvas-ignore fxLayout="row" class="layout-wrap tb-footer-buttons" fxLayoutAlign="start end" |
|
|
|
*ngIf="!readonly"> |
|
|
|
<tb-footer-fab-buttons [fxShow]="!isAddingWidget && isEdit && !widgetEditMode" |
|
|
|
relative |
|
|
|
[footerFabButtons]="addWidgetFabButtons"> |
|
|
|
</tb-footer-fab-buttons> |
|
|
|
<button *ngIf="(isTenantAdmin() || isSystemAdmin()) && !forceFullscreen && !embedded && !isMobileApp" |
|
|
|
mat-fab color="accent" class="tb-btn-footer" |
|
|
|
<button mat-fab color="accent" class="tb-btn-footer" |
|
|
|
[ngClass]="{'tb-hide': !isEdit || isAddingWidget}" |
|
|
|
[disabled]="isLoading$ | async" |
|
|
|
(click)="saveDashboard()" |
|
|
|
@ -211,8 +210,7 @@ |
|
|
|
matTooltipPosition="above"> |
|
|
|
<mat-icon>done</mat-icon> |
|
|
|
</button> |
|
|
|
<button *ngIf="(isTenantAdmin() || isSystemAdmin()) && !forceFullscreen && !embedded && !isMobileApp" |
|
|
|
mat-fab color="accent" class="tb-btn-footer" |
|
|
|
<button mat-fab color="accent" class="tb-btn-footer" |
|
|
|
[ngClass]="{'tb-hide': isAddingWidget || (isLoading$ | async)}" |
|
|
|
[disabled]="isLoading$ | async" |
|
|
|
(click)="toggleDashboardEditMode()" |
|
|
|
|