diff --git a/console/src/app/app.component.ts b/console/src/app/app.component.ts index d5a96283d..7c01f42b3 100644 --- a/console/src/app/app.component.ts +++ b/console/src/app/app.component.ts @@ -219,7 +219,7 @@ export class AppComponent implements OnDestroy { } private getProjectCount(): void { - this.authService.isAllowed(['project.read']).subscribe((allowed) => { + this.authService.isAllowed(['project.read$']).subscribe((allowed) => { if (allowed) { this.mgmtService.SearchProjects(0, 0).then(res => { this.ownedProjectsCount = res.toObject().totalResult;