From e1d343fb700d893cd3dc0a3aaf767213a99e713e Mon Sep 17 00:00:00 2001 From: Kenrick Tandrian <60643640+KenTandrian@users.noreply.github.com> Date: Wed, 11 Feb 2026 02:15:45 +0700 Subject: [PATCH 1/4] Task/improve accounts table type safety (#6301) * fix(lib): replace null with undefined in activities table stories * feat(lib): implement inject functions in accounts table * feat(lib): change to input functions * feat(lib): change displayedColumns to a computed field * feat(lib): change accounts to use input function * feat(lib): change isLoading to a computed field * fix(lib): remove unused routeQueryParams variable * feat(lib): change sort to use viewChild function * feat(lib): change dataSource to a computed field * feat(lib): remove ngOnChanges --- .../accounts-table.component.html | 16 +-- .../accounts-table.component.ts | 114 +++++++++--------- .../activities-table.component.stories.ts | 26 ++-- 3 files changed, 76 insertions(+), 80 deletions(-) diff --git a/libs/ui/src/lib/accounts-table/accounts-table.component.html b/libs/ui/src/lib/accounts-table/accounts-table.component.html index 68ae78474..63a7a89b6 100644 --- a/libs/ui/src/lib/accounts-table/accounts-table.component.html +++ b/libs/ui/src/lib/accounts-table/accounts-table.component.html @@ -1,9 +1,9 @@ -@if (showActions) { +@if (showActions()) {