fix: show org with regex (#1688)

This commit is contained in:
Max Peintner 2021-04-29 15:57:10 +02:00 committed by GitHub
parent fe4f6a963e
commit 4d09b804f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,7 +91,7 @@
<div *ngIf="org" [@navAnimation]="org">
<ng-template appHasRole
[appHasRole]="['org.read', 'project.read(:[0-9]*)?', 'user.read(:[0-9]*)?', 'user.grant.read(:[0-9]*)?']">
[appHasRole]="['org.read']">
<div @navitem class="divider">
<div class="line"></div>
<span>{{org?.name ? org.name : ('MENU.ORGSECTION' | translate)}}</span>