From 03191683c2882aeb2e346a727c78eb1d348321e8 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 29 Sep 2026 11:48:35 +0200 Subject: [PATCH] Fix value column of top holdings in Presenter View --- .../portfolio/allocations/allocations-page.html | 1 + .../lib/top-holdings/top-holdings.component.ts | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/apps/client/src/app/pages/portfolio/allocations/allocations-page.html b/apps/client/src/app/pages/portfolio/allocations/allocations-page.html index adb4f188d7..79f5e4ecbf 100644 --- a/apps/client/src/app/pages/portfolio/allocations/allocations-page.html +++ b/apps/client/src/app/pages/portfolio/allocations/allocations-page.html @@ -341,6 +341,7 @@ (); - public displayedColumns: string[] = [ - 'name', - 'valueInBaseCurrency', - 'allocationInPercentage' - ]; + public displayedColumns: string[] = []; public isLoading = true; public ngOnChanges() { + this.displayedColumns = ['name']; + + if (this.hasPermissionToShowValues) { + this.displayedColumns.push('valueInBaseCurrency'); + } + + this.displayedColumns.push('allocationInPercentage'); + this.isLoading = true; this.dataSource = new MatTableDataSource(this.topHoldings);