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);