From 7d78ca05edf662263fbe787939142b866cf0182e Mon Sep 17 00:00:00 2001 From: JoryHogeveen Date: Fri, 15 Nov 2024 00:53:45 +0100 Subject: [PATCH] Add ticker symbol to parent name --- .../pages/portfolio/allocations/allocations-page.component.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts index fa7db8f00..79dbe6b35 100644 --- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts +++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page.component.ts @@ -498,7 +498,9 @@ export class AllocationsPageComponent implements OnDestroy, OnInit { for (const index in parentHoldings) { if (name === parentHoldings[index].name) { return { - name: holding.name ?? symbol, + name: holding.name + ? holding.name + ' (' + symbol + ')' + : symbol, allocationInPercentage: parentHoldings[index].valueInBaseCurrency / value, valueInBaseCurrency: