mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-12 10:53:39 +00:00
fix: regexp (#794)
This commit is contained in:
parent
dd1ccefd29
commit
c2e046548e
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user