mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-08 20:17:40 +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
|
<a
|
||||||
actions
|
actions
|
||||||
*ngIf="disableWrite === false && selection.hasValue() === false"
|
*ngIf="disableWrite === false && selection.hasValue() === false && routerLink"
|
||||||
matTooltip="{{ 'GRANTS.ADD' | translate }}"
|
matTooltip="{{ 'GRANTS.ADD' | translate }}"
|
||||||
color="primary"
|
color="primary"
|
||||||
class="cnsl-action-button"
|
class="cnsl-action-button"
|
||||||
|
@ -56,7 +56,7 @@ export class UserGrantsComponent implements OnInit, AfterViewInit {
|
|||||||
@ViewChild('input') public filter!: MatInput;
|
@ViewChild('input') public filter!: MatInput;
|
||||||
|
|
||||||
public projectRoleOptions: Role.AsObject[] = [];
|
public projectRoleOptions: Role.AsObject[] = [];
|
||||||
public routerLink: any = [''];
|
public routerLink: any = undefined;
|
||||||
|
|
||||||
public loadedId: string = '';
|
public loadedId: string = '';
|
||||||
public loadedProjectId: string = '';
|
public loadedProjectId: string = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user