Browse Source

Bugfix/asset class chart on allocations page (#6979)

Fix asset class chart
pull/6980/head
Thomas Kaul 3 hours ago
committed by GitHub
parent
commit
8a93f1f301
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 10
      libs/ui/src/lib/services/data.service.ts

10
libs/ui/src/lib/services/data.service.ts

@ -556,13 +556,11 @@ export class DataService {
map((response) => {
if (response.holdings) {
for (const symbol of Object.keys(response.holdings)) {
response.holdings[symbol].assetClassLabel = translate(
response.holdings[symbol].assetClass
);
response.holdings[symbol].assetProfile.assetClassLabel =
translate(response.holdings[symbol].assetProfile.assetClass);
response.holdings[symbol].assetSubClassLabel = translate(
response.holdings[symbol].assetSubClass
);
response.holdings[symbol].assetProfile.assetSubClassLabel =
translate(response.holdings[symbol].assetProfile.assetSubClass);
response.holdings[symbol].dateOfFirstActivity = response.holdings[
symbol

Loading…
Cancel
Save