mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 03:27:32 +00:00
fix: regexp (#794)
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user