From c2e046548e7a778cdd9ebf9ae17b9e4962058580 Mon Sep 17 00:00:00 2001 From: Max Peintner Date: Wed, 30 Sep 2020 09:25:11 +0200 Subject: [PATCH] fix: regexp (#794) --- console/src/app/app.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;