From a2dea0cc1e8eec847fab3fae784b818b1ead7fae Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Tue, 10 Feb 2026 11:30:47 +0700 Subject: [PATCH] feat(lib): implement inject functions in accounts table --- .../src/lib/accounts-table/accounts-table.component.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libs/ui/src/lib/accounts-table/accounts-table.component.ts b/libs/ui/src/lib/accounts-table/accounts-table.component.ts index 21300fdcc..12a55cc7e 100644 --- a/libs/ui/src/lib/accounts-table/accounts-table.component.ts +++ b/libs/ui/src/lib/accounts-table/accounts-table.component.ts @@ -81,12 +81,11 @@ export class GfAccountsTableComponent implements OnChanges, OnDestroy { public isLoading = true; public routeQueryParams: Subscription; - private unsubscribeSubject = new Subject(); + private readonly notificationService = inject(NotificationService); + private readonly router = inject(Router); + private readonly unsubscribeSubject = new Subject(); - public constructor( - private notificationService: NotificationService, - private router: Router - ) { + public constructor() { addIcons({ arrowRedoOutline, createOutline,