From e05690567ba1d64e0e8a1f378ef782e092dcb3f0 Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Sat, 15 Jun 2024 09:19:06 +0200
Subject: [PATCH] Improve usability
---
.../benchmark-detail-dialog.html | 2 +-
.../lib/benchmark/benchmark.component.html | 22 ++++++++++---------
.../src/lib/benchmark/benchmark.component.ts | 6 +++++
3 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html b/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html
index 3e96c32ec..23196f162 100644
--- a/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html
+++ b/libs/ui/src/lib/benchmark/benchmark-detail-dialog/benchmark-detail-dialog.html
@@ -2,7 +2,7 @@
mat-dialog-title
position="center"
[deviceType]="data.deviceType"
- [title]="assetProfile?.name"
+ [title]="assetProfile?.name ?? assetProfile?.symbol"
(closeButtonClicked)="onClose()"
/>
diff --git a/libs/ui/src/lib/benchmark/benchmark.component.html b/libs/ui/src/lib/benchmark/benchmark.component.html
index 1f1733a71..ec92554de 100644
--- a/libs/ui/src/lib/benchmark/benchmark.component.html
+++ b/libs/ui/src/lib/benchmark/benchmark.component.html
@@ -2,15 +2,7 @@
Index
- {{ element?.name }}
+ {{ element?.name }}