From 91cf9218e59c4ed48a81e9ffe6ff18e39edcbc14 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Sat, 23 May 2026 12:39:45 +0700 Subject: [PATCH] feat(client): implement OnPush change detection strategy --- .../src/app/components/home-summary/home-summary.component.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/client/src/app/components/home-summary/home-summary.component.ts b/apps/client/src/app/components/home-summary/home-summary.component.ts index d25a5be9a..28fbc1ae4 100644 --- a/apps/client/src/app/components/home-summary/home-summary.component.ts +++ b/apps/client/src/app/components/home-summary/home-summary.component.ts @@ -6,6 +6,7 @@ import { hasPermission, permissions } from '@ghostfolio/common/permissions'; import { DataService } from '@ghostfolio/ui/services'; import { + ChangeDetectionStrategy, Component, computed, CUSTOM_ELEMENTS_SCHEMA, @@ -19,6 +20,7 @@ import { MatCardModule } from '@angular/material/card'; import { DeviceDetectorService } from 'ngx-device-detector'; @Component({ + changeDetection: ChangeDetectionStrategy.OnPush, imports: [GfPortfolioSummaryComponent, MatCardModule], schemas: [CUSTOM_ELEMENTS_SCHEMA], selector: 'gf-home-summary',