Browse Source

Add title

pull/1003/head
Thomas 3 years ago
parent
commit
9933f6213d
  1. 8
      apps/client/src/app/components/portfolio-performance/portfolio-performance.component.ts

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

@ -81,9 +81,11 @@ export class PortfolioPerformanceComponent implements OnChanges, OnInit {
} }
public onShowErrors() { public onShowErrors() {
const errorMessageParts = this.errors.map((error) => { const errorMessageParts = ['Data Provider Errors for'];
return `${error.symbol} (${error.dataSource})`;
}); for (const error of this.errors) {
errorMessageParts.push(`${error.symbol} (${error.dataSource})`);
}
alert(errorMessageParts.join('\n')); alert(errorMessageParts.join('\n'));
} }

Loading…
Cancel
Save