diff --git a/apps/client/src/app/components/markets/markets.component.ts b/apps/client/src/app/components/markets/markets.component.ts index 1c8fdb1e1d..c4782b7db4 100644 --- a/apps/client/src/app/components/markets/markets.component.ts +++ b/apps/client/src/app/components/markets/markets.component.ts @@ -66,6 +66,7 @@ export class GfMarketsComponent implements OnInit { protected fearAndGreedIndex: number | undefined; protected fearAndGreedIndexMode: FearAndGreedIndexMode = 'STOCKS'; protected hasPermissionToAccessFearAndGreedIndex: boolean; + protected hasPermissionToOpenBenchmarkDetails = false; protected hasPermissionToReadMarketDataOfMarkets: boolean; protected historicalDataItems: LineChartItem[]; protected isLoadingFearAndGreedIndex = true; @@ -99,6 +100,8 @@ export class GfMarketsComponent implements OnInit { if (state?.user) { this.user = state.user; + this.hasPermissionToOpenBenchmarkDetails = true; + this.hasPermissionToReadMarketDataOfMarkets = hasPermission( this.user.permissions, permissions.readMarketDataOfMarkets diff --git a/apps/client/src/app/components/markets/markets.html b/apps/client/src/app/components/markets/markets.html index 176b847235..eafb3224f2 100644 --- a/apps/client/src/app/components/markets/markets.html +++ b/apps/client/src/app/components/markets/markets.html @@ -52,7 +52,7 @@