|
|
@ -610,13 +610,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 |
|
|
@ -699,6 +697,12 @@ 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].assetProfile.assetClassLabel = |
|
|
|
|
|
translate(response.holdings[symbol].assetProfile.assetClass); |
|
|
|
|
|
|
|
|
|
|
|
response.holdings[symbol].assetProfile.assetSubClassLabel = |
|
|
|
|
|
translate(response.holdings[symbol].assetProfile.assetSubClass); |
|
|
|
|
|
|
|
|
response.holdings[symbol].valueInBaseCurrency = isNumber( |
|
|
response.holdings[symbol].valueInBaseCurrency = isNumber( |
|
|
response.holdings[symbol].valueInBaseCurrency |
|
|
response.holdings[symbol].valueInBaseCurrency |
|
|
) |
|
|
) |
|
|
|