fix: regexp (#794)

This commit is contained in:
Max Peintner 2020-09-30 09:25:11 +02:00 committed by GitHub
parent dd1ccefd29
commit c2e046548e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ export class AppComponent implements OnDestroy {
} }
private getProjectCount(): void { private getProjectCount(): void {
this.authService.isAllowed(['project.read']).subscribe((allowed) => { this.authService.isAllowed(['project.read$']).subscribe((allowed) => {
if (allowed) { if (allowed) {
this.mgmtService.SearchProjects(0, 0).then(res => { this.mgmtService.SearchProjects(0, 0).then(res => {
this.ownedProjectsCount = res.toObject().totalResult; this.ownedProjectsCount = res.toObject().totalResult;