From 601f74a6bb4c67d603b8e8366c596ff2ed4955c8 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sun, 21 Sep 2025 17:31:58 +0200
Subject: [PATCH] Refactoring
---
libs/ui/src/lib/benchmark/benchmark.component.html | 8 +++++---
libs/ui/src/lib/benchmark/benchmark.component.ts | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/libs/ui/src/lib/benchmark/benchmark.component.html b/libs/ui/src/lib/benchmark/benchmark.component.html
index b80efd5f8..2b75e5672 100644
--- a/libs/ui/src/lib/benchmark/benchmark.component.html
+++ b/libs/ui/src/lib/benchmark/benchmark.component.html
@@ -15,9 +15,11 @@
{{ element?.name }}
-
- {{ element?.symbol }}
-
+ @if (showSymbol) {
+
+ {{ element?.symbol }}
+
+ }
diff --git a/libs/ui/src/lib/benchmark/benchmark.component.ts b/libs/ui/src/lib/benchmark/benchmark.component.ts
index 8acb05935..3af9bc674 100644
--- a/libs/ui/src/lib/benchmark/benchmark.component.ts
+++ b/libs/ui/src/lib/benchmark/benchmark.component.ts
@@ -62,8 +62,8 @@ export class GfBenchmarkComponent implements OnChanges, OnDestroy {
@Input() deviceType: string;
@Input() hasPermissionToDeleteItem: boolean;
@Input() locale = getLocale();
- @Input() user: User;
@Input() showSymbol = true;
+ @Input() user: User;
@Output() itemDeleted = new EventEmitter();