mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-06 13:57:41 +00:00
fix(cnsl): hide new auth button if no routerlink (#6640)
* fix(cnsl): hide new auth button if no routerlink * fix: add @peintnermax suggestions --------- Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
parent
0a2e6dcfb3
commit
eb31c2a3be
@ -30,7 +30,7 @@
|
||||
|
||||
<a
|
||||
actions
|
||||
*ngIf="disableWrite === false && selection.hasValue() === false"
|
||||
*ngIf="disableWrite === false && selection.hasValue() === false && routerLink"
|
||||
matTooltip="{{ 'GRANTS.ADD' | translate }}"
|
||||
color="primary"
|
||||
class="cnsl-action-button"
|
||||
|
@ -56,7 +56,7 @@ export class UserGrantsComponent implements OnInit, AfterViewInit {
|
||||
@ViewChild('input') public filter!: MatInput;
|
||||
|
||||
public projectRoleOptions: Role.AsObject[] = [];
|
||||
public routerLink: any = [''];
|
||||
public routerLink: any = undefined;
|
||||
|
||||
public loadedId: string = '';
|
||||
public loadedProjectId: string = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user