From a063aae62e34906f051f620a3befc8fc519e29d4 Mon Sep 17 00:00:00 2001 From: KenTandrian Date: Tue, 7 Jul 2026 07:51:57 +0700 Subject: [PATCH] feat(client): enforce encapsulation --- .../portfolio-performance/portfolio-performance.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts b/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts index 386725acf..c592c2557 100644 --- a/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts +++ b/apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts @@ -43,7 +43,7 @@ export class GfPortfolioPerformanceComponent implements OnChanges { @Input() showDetails: boolean; @Input() unit: string; - @ViewChild('value') value: ElementRef; + @ViewChild('value') private value: ElementRef; private readonly notificationService = inject(NotificationService); @@ -83,7 +83,7 @@ export class GfPortfolioPerformanceComponent implements OnChanges { } } - public onShowErrors() { + protected onShowErrors() { if (!this.errors?.length) { return; }