mirror of
https://github.com/goharbor/harbor
synced 2025-04-06 20:24:58 +00:00
Disable delete button when there is no group
Signed-off-by: Cheng <1309173081@qq.com>
This commit is contained in:
parent
00c225f374
commit
b8f9b71d89
|
@ -15,7 +15,7 @@
|
|||
<clr-icon shape="plus" size="15"></clr-icon> {{'GROUP.ADD' | translate}}</button>
|
||||
<button type="button" class="btn btn-sm btn-secondary" (click)="editGroup()" [disabled]="!canEditGroup">
|
||||
<clr-icon shape="pencil" size="15"></clr-icon> {{'GROUP.EDIT' | translate}}</button>
|
||||
<button type="button" class="btn btn-sm btn-secondary" (click)="openDeleteConfirmationDialog()" [disabled]="!canAddGroup">
|
||||
<button type="button" class="btn btn-sm btn-secondary" (click)="openDeleteConfirmationDialog()" [disabled]="!canEditGroup">
|
||||
<clr-icon shape="times" size="15"></clr-icon> {{'GROUP.DELETE' | translate}}</button>
|
||||
</clr-dg-action-bar>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user