Browse Source

feat(client): enforce encapsulation

pull/7265/head
KenTandrian 1 week ago
parent
commit
a063aae62e
  1. 4
      apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts

4
apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts

@ -43,7 +43,7 @@ export class GfPortfolioPerformanceComponent implements OnChanges {
@Input() showDetails: boolean; @Input() showDetails: boolean;
@Input() unit: string; @Input() unit: string;
@ViewChild('value') value: ElementRef; @ViewChild('value') private value: ElementRef;
private readonly notificationService = inject(NotificationService); private readonly notificationService = inject(NotificationService);
@ -83,7 +83,7 @@ export class GfPortfolioPerformanceComponent implements OnChanges {
} }
} }
public onShowErrors() { protected onShowErrors() {
if (!this.errors?.length) { if (!this.errors?.length) {
return; return;
} }

Loading…
Cancel
Save