From 457098b69a60fcc19a38098625620db7cb1c4e3f Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sun, 12 Apr 2026 20:13:57 +0700 Subject: [PATCH] fix(client): remove unused activities --- .../account-detail-dialog/account-detail-dialog.component.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts b/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts index 359c7cc5e..f51315e91 100644 --- a/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts +++ b/apps/client/src/app/components/account-detail-dialog/account-detail-dialog.component.ts @@ -12,7 +12,6 @@ import { } from '@ghostfolio/common/interfaces'; import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { internalRoutes } from '@ghostfolio/common/routes/routes'; -import { OrderWithAccount } from '@ghostfolio/common/types'; import { GfAccountBalancesComponent } from '@ghostfolio/ui/account-balances'; import { GfActivitiesTableComponent } from '@ghostfolio/ui/activities-table'; import { GfDialogFooterComponent } from '@ghostfolio/ui/dialog-footer'; @@ -79,7 +78,6 @@ import { AccountDetailDialogParams } from './interfaces/interfaces'; }) export class GfAccountDetailDialogComponent implements OnInit { protected accountBalances: AccountBalancesResponse['balances']; - protected activities: OrderWithAccount[]; protected activitiesCount: number; protected balance: number; protected balancePrecision = 2; @@ -104,8 +102,9 @@ export class GfAccountDetailDialogComponent implements OnInit { protected user: User; protected valueInBaseCurrency: number; + protected readonly data = inject(MAT_DIALOG_DATA); + private readonly changeDetectorRef = inject(ChangeDetectorRef); - private readonly data = inject(MAT_DIALOG_DATA); private readonly dataService = inject(DataService); private readonly destroyRef = inject(DestroyRef); private readonly dialogRef =