|
|
@ -310,7 +310,7 @@ export class GfAllocationsPageComponent implements OnInit { |
|
|
] of Object.entries(this.portfolioDetails.accounts)) { |
|
|
] of Object.entries(this.portfolioDetails.accounts)) { |
|
|
let value = 0; |
|
|
let value = 0; |
|
|
|
|
|
|
|
|
if (this.hasImpersonationId) { |
|
|
if (this.hasImpersonationId || this.user?.settings?.isRestrictedView) { |
|
|
value = valueInPercentage; |
|
|
value = valueInPercentage; |
|
|
} else { |
|
|
} else { |
|
|
value = valueInBaseCurrency; |
|
|
value = valueInBaseCurrency; |
|
|
@ -328,7 +328,7 @@ export class GfAllocationsPageComponent implements OnInit { |
|
|
)) { |
|
|
)) { |
|
|
let value = 0; |
|
|
let value = 0; |
|
|
|
|
|
|
|
|
if (this.hasImpersonationId) { |
|
|
if (this.hasImpersonationId || this.user?.settings?.isRestrictedView) { |
|
|
value = position.allocationInPercentage; |
|
|
value = position.allocationInPercentage; |
|
|
} else { |
|
|
} else { |
|
|
value = position.valueInBaseCurrency; |
|
|
value = position.valueInBaseCurrency; |
|
|
@ -491,7 +491,7 @@ export class GfAllocationsPageComponent implements OnInit { |
|
|
] of Object.entries(this.portfolioDetails.platforms)) { |
|
|
] of Object.entries(this.portfolioDetails.platforms)) { |
|
|
let value = 0; |
|
|
let value = 0; |
|
|
|
|
|
|
|
|
if (this.hasImpersonationId) { |
|
|
if (this.hasImpersonationId || this.user?.settings?.isRestrictedView) { |
|
|
value = valueInPercentage; |
|
|
value = valueInPercentage; |
|
|
} else { |
|
|
} else { |
|
|
value = valueInBaseCurrency; |
|
|
value = valueInBaseCurrency; |
|
|
|