mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-28 00:38:50 +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 mat-dialog-actions class="button-div">
|
||||
<button mat-button (click)="onUpdate()" tabindex="2" mat-raised-button color="primary"
|
||||
[disabled]="!editRoleForm.valid">
|
||||
[disabled]="!editRoleForm.valid || ($role | async)?.is_builtin">
|
||||
Update Role
|
||||
</button>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user