diff --git a/CHANGELOG.md b/CHANGELOG.md index 41728520d1..ad6228c2ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,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/pages/accounts/accounts-page.html b/apps/client/src/app/pages/accounts/accounts-page.html index e3f625ac1b..55a8f65345 100644 --- a/apps/client/src/app/pages/accounts/accounts-page.html +++ b/apps/client/src/app/pages/accounts/accounts-page.html @@ -3,7 +3,7 @@

Accounts

(); + public readonly accounts = input.required(); public readonly activitiesCount = input(); public readonly baseCurrency = input(); public readonly hasPermissionToDeleteAccount = input(); @@ -159,7 +159,7 @@ export class GfAccountsTableComponent { // Reactive data update effect(() => { - this.dataSource.data = this.accounts(); + this.dataSource.data = this.accounts() ?? []; }); // Reactive view connection diff --git a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts index b50f89a8eb..9a215ee5b3 100644 --- a/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts +++ b/libs/ui/src/lib/portfolio-proportion-chart/portfolio-proportion-chart.component.ts @@ -397,11 +397,13 @@ export class GfPortfolioProportionChartComponent context.dataIndex ] as string; - return value > 0 - ? isUUID(symbol) - ? (this.data[symbol]?.name ?? symbol) - : symbol - : ''; + if (value <= 0) { + return ''; + } + + return isUUID(symbol) + ? (this.data[symbol]?.name ?? symbol) + : symbol; }, offset: 8 }