Browse Source
Bugfix/asset class chart on allocations page (#6979)
Fix asset class chart
pull/6980/head
Thomas Kaul
4 hours ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
6 deletions
-
libs/ui/src/lib/services/data.service.ts
|
|
@ -556,13 +556,11 @@ export class DataService { |
|
|
map((response) => { |
|
|
map((response) => { |
|
|
if (response.holdings) { |
|
|
if (response.holdings) { |
|
|
for (const symbol of Object.keys(response.holdings)) { |
|
|
for (const symbol of Object.keys(response.holdings)) { |
|
|
response.holdings[symbol].assetClassLabel = translate( |
|
|
response.holdings[symbol].assetProfile.assetClassLabel = |
|
|
response.holdings[symbol].assetClass |
|
|
translate(response.holdings[symbol].assetProfile.assetClass); |
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
response.holdings[symbol].assetSubClassLabel = translate( |
|
|
response.holdings[symbol].assetProfile.assetSubClassLabel = |
|
|
response.holdings[symbol].assetSubClass |
|
|
translate(response.holdings[symbol].assetProfile.assetSubClass); |
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
response.holdings[symbol].dateOfFirstActivity = response.holdings[ |
|
|
response.holdings[symbol].dateOfFirstActivity = response.holdings[ |
|
|
symbol |
|
|
symbol |
|
|
|