Browse Source

fix(client): resolve errors

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

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

@ -81,7 +81,11 @@ export class GfPortfolioPerformanceComponent implements OnChanges {
} }
public onShowErrors() { public onShowErrors() {
const errorMessageParts = []; if (!this.errors?.length) {
return;
}
const errorMessageParts: string[] = [];
for (const error of this.errors) { for (const error of this.errors) {
errorMessageParts.push(`${error.symbol} (${error.dataSource})`); errorMessageParts.push(`${error.symbol} (${error.dataSource})`);

Loading…
Cancel
Save