From fc083fb0cd36efa2da17ebeeeb9d668ed15e3ea8 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:19:16 +0200 Subject: [PATCH] Bugfix/loading state of holdings table on portfolio holdings page (#7788) * Fix loading state of holdings table * Update changelog --- CHANGELOG.md | 1 + .../src/app/components/home-holdings/home-holdings.html | 2 +- libs/ui/src/lib/holdings-table/holdings-table.component.ts | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 646c59ecb..ad6228c2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Fixed the loading state of the accounts table on the accounts page +- Fixed the loading state of the holdings table on the portfolio holdings page ## 3.65.0 - 2026-08-31 diff --git a/apps/client/src/app/components/home-holdings/home-holdings.html b/apps/client/src/app/components/home-holdings/home-holdings.html index df6d57c0e..b55b1c54e 100644 --- a/apps/client/src/app/components/home-holdings/home-holdings.html +++ b/apps/client/src/app/components/home-holdings/home-holdings.html @@ -37,7 +37,7 @@ }
diff --git a/libs/ui/src/lib/holdings-table/holdings-table.component.ts b/libs/ui/src/lib/holdings-table/holdings-table.component.ts index 7fe21720e..1bbfa515b 100644 --- a/libs/ui/src/lib/holdings-table/holdings-table.component.ts +++ b/libs/ui/src/lib/holdings-table/holdings-table.component.ts @@ -50,7 +50,7 @@ export class GfHoldingsTableComponent { public readonly hasPermissionToOpenDetails = input(true); public readonly hasPermissionToShowQuantities = input(true); public readonly hasPermissionToShowValues = input(true); - public readonly holdings = input.required(); + public readonly holdings = input.required(); public readonly locale = input(getLocale()); public readonly pageSize = model(Number.MAX_SAFE_INTEGER); @@ -89,7 +89,7 @@ export class GfHoldingsTableComponent { // Reactive data update effect(() => { - this.dataSource.data = this.holdings(); + this.dataSource.data = this.holdings() ?? []; }); // Reactive view connection