From c5b3fa2ac03e13203673e9ee624eb9e7f53e5f28 Mon Sep 17 00:00:00 2001 From: Richard Henck <richard.henck@iqb.hu-berlin.de> Date: Thu, 4 Jul 2024 14:16:56 +0200 Subject: [PATCH] [editor] Hide Position-Tab when no position or dimensions are present --- .../properties-panel/element-properties-panel.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/editor/src/app/components/properties-panel/element-properties-panel.component.html b/projects/editor/src/app/components/properties-panel/element-properties-panel.component.html index 23001de9f..efbbe4c0b 100644 --- a/projects/editor/src/app/components/properties-panel/element-properties-panel.component.html +++ b/projects/editor/src/app/components/properties-panel/element-properties-panel.component.html @@ -21,7 +21,7 @@ </aspect-element-model-properties-component> </mat-tab> - <mat-tab> + <mat-tab *ngIf="combinedProperties.position || combinedProperties.dimensions"> <ng-template mat-tab-label> <mat-icon class="example-tab-icon" [matTooltip]="'Position & Maße'">format_shapes</mat-icon> </ng-template> -- GitLab