Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
TypeScript angularetffinancefintechghostfoliohacktoberfestinvestingnestjsosspersonal-financeportfolioprismasoftwarestocktrackertradingtypescriptwealth-managementweb
Bugfix/loading state of accounts table on accounts page (#7787)
Thomas Kaulc5139e9ab363
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex bf8ec7c268..646c59ecb9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## Unreleased++### Fixed++- Fixed the loading state of the accounts table on the accounts page+## 3.65.0 - 2026-08-31### Addeddiff --git a/apps/client/src/app/pages/accounts/accounts-page.html b/apps/client/src/app/pages/accounts/accounts-page.htmlindex 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 @@<div class="col"><h1 class="d-none d-sm-block h3 mb-4 text-center" i18n>Accounts</h1><gf-accounts-table- [accounts]="accounts ?? []"+ [accounts]="accounts"[activitiesCount]="activitiesCount"[baseCurrency]="user?.settings?.baseCurrency"[hasPermissionToDeleteAccount]="hasPermissionToDeleteAccount"diff --git a/libs/ui/src/lib/accounts-table/accounts-table.component.ts b/libs/ui/src/lib/accounts-table/accounts-table.component.tsindex 93b3949512..48eb99d51c 100644--- a/libs/ui/src/lib/accounts-table/accounts-table.component.ts+++ b/libs/ui/src/lib/accounts-table/accounts-table.component.ts@@ -56,7 +56,7 @@ import { NgxSkeletonLoaderModule } from 'ngx-skeleton-loader';templateUrl: './accounts-table.component.html'})export class GfAccountsTableComponent {- public readonly accounts = input.required<AccountWithValue[]>();+ public readonly accounts = input.required<AccountWithValue[] | undefined>();public readonly activitiesCount = input<number>();public readonly baseCurrency = input<string>();public readonly hasPermissionToDeleteAccount = input<boolean>();@@ -159,7 +159,7 @@ export class GfAccountsTableComponent {// Reactive data updateeffect(() => {- this.dataSource.data = this.accounts();+ this.dataSource.data = this.accounts() ?? [];});// Reactive view connection