Browse Source

resolve errors

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

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

@ -13,8 +13,8 @@ import { GfValueComponent } from '@ghostfolio/ui/value';
import { import {
ChangeDetectionStrategy, ChangeDetectionStrategy,
Component, Component,
ElementRef,
effect, effect,
ElementRef,
inject, inject,
input, input,
viewChild viewChild
@ -87,6 +87,7 @@ export class GfPortfolioPerformanceComponent {
protected onShowErrors() { protected onShowErrors() {
const errors = this.errors(); const errors = this.errors();
if (!errors?.length) { if (!errors?.length) {
return; return;
} }

Loading…
Cancel
Save