From 37bd0650c24a507617bcb601f505978914a65eaa Mon Sep 17 00:00:00 2001
From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com>
Date: Wed, 5 Aug 2026 22:01:46 +0200
Subject: [PATCH] Introduce isLoading attribute
---
.../portfolio-performance.component.html | 4 ++--
.../user-detail-dialog.html | 24 +++++++++++--------
2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html b/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html
index fc4c5c5ba..d6339a5ff 100644
--- a/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html
+++ b/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.html
@@ -40,7 +40,7 @@
[isCurrency]="true"
[isLoading]="isLoading()"
[locale]="locale()"
- [value]="performance().netPerformanceWithCurrencyEffect"
+ [value]="performance()?.netPerformanceWithCurrencyEffect"
/>
@@ -49,7 +49,7 @@
[isLoading]="isLoading()"
[isPercent]="true"
[locale]="locale()"
- [value]="performance().netPerformancePercentageWithCurrencyEffect"
+ [value]="performance()?.netPerformancePercentageWithCurrencyEffect"
/>
diff --git a/apps/client/src/app/components/user-detail-dialog/user-detail-dialog.html b/apps/client/src/app/components/user-detail-dialog/user-detail-dialog.html
index 00b12038c..efc4fe5b4 100644
--- a/apps/client/src/app/components/user-detail-dialog/user-detail-dialog.html
+++ b/apps/client/src/app/components/user-detail-dialog/user-detail-dialog.html
@@ -37,12 +37,16 @@
size="medium"
[enableCopyToClipboardButton]="true"
[isLoading]="isLoading"
- [value]="user.id"
+ [value]="user?.id"
>User ID
- Role
@@ -56,7 +60,7 @@
[isDate]="true"
[isLoading]="isLoading"
[locale]="data.locale"
- [value]="user.createdAt"
+ [value]="user?.createdAt"
>Registration Date
@@ -66,7 +70,7 @@
size="medium"
[isLoading]="isLoading"
[locale]="data.locale"
- [value]="user.provider"
+ [value]="user?.provider"
>Authentication
@@ -80,7 +84,7 @@
size="medium"
[isLoading]="isLoading"
[locale]="data.locale"
- [value]="user.subscription ? 'Premium' : 'Basic'"
+ [value]="user?.subscription ? 'Premium' : 'Basic'"
>Membership
@@ -90,7 +94,7 @@
size="medium"
[isLoading]="isLoading"
[value]="
- user.country ? getCountryName({ code: user.country }) : '-'
+ user?.country ? getCountryName({ code: user.country }) : '-'
"
>Country
@@ -105,7 +109,7 @@
size="medium"
[isLoading]="isLoading"
[locale]="data.locale"
- [value]="user.accountCount"
+ [value]="user?.accountCount"
>Accounts
@@ -115,7 +119,7 @@
size="medium"
[isLoading]="isLoading"
[locale]="data.locale"
- [value]="user.activityCount"
+ [value]="user?.activityCount"
>Activities
@@ -130,7 +134,7 @@
[isLoading]="isLoading"
[locale]="data.locale"
[precision]="0"
- [value]="user.engagement"
+ [value]="user?.engagement"
>Engagement per Day
@@ -140,7 +144,7 @@
size="medium"
[isLoading]="isLoading"
[locale]="data.locale"
- [value]="user.dailyApiRequests"
+ [value]="user?.dailyApiRequests"
>API Requests Today