mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-28 15:13:52 +00:00
cannot update a buildin role: disable update button if role is build_in
This commit is contained in:
parent
349260d807
commit
be6da1d2e1
@ -32,7 +32,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div mat-dialog-actions class="button-div">
|
<div mat-dialog-actions class="button-div">
|
||||||
<button mat-button (click)="onUpdate()" tabindex="2" mat-raised-button color="primary"
|
<button mat-button (click)="onUpdate()" tabindex="2" mat-raised-button color="primary"
|
||||||
[disabled]="!editRoleForm.valid">
|
[disabled]="!editRoleForm.valid || ($role | async)?.is_builtin">
|
||||||
Update Role
|
Update Role
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user