mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-15 23:05:57 +01:00
Fix bug of repository can not delete on card view
Fix argument types of repo delete function
This commit is contained in:
parent
a7fc977bc3
commit
6a71188ecf
@ -91,7 +91,7 @@
|
|||||||
<button *ngIf="withAdmiral" type="button" class="btn btn-link" clrDropdownItem (click)="itemAddInfoEvent($event, item)" [disabled]="!hasProjectAdminRole">
|
<button *ngIf="withAdmiral" type="button" class="btn btn-link" clrDropdownItem (click)="itemAddInfoEvent($event, item)" [disabled]="!hasProjectAdminRole">
|
||||||
{{'REPOSITORY.ADDITIONAL_INFO' | translate}}
|
{{'REPOSITORY.ADDITIONAL_INFO' | translate}}
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-link" clrDropdownItem (click)="deleteItemEvent($event, [item])" [disabled]="!hasProjectAdminRole">
|
<button type="button" class="btn btn-link" clrDropdownItem (click)="deleteItemEvent($event, item)" [disabled]="!hasProjectAdminRole">
|
||||||
{{'REPOSITORY.DELETE' | translate}}
|
{{'REPOSITORY.DELETE' | translate}}
|
||||||
</button>
|
</button>
|
||||||
</clr-dropdown-menu>
|
</clr-dropdown-menu>
|
||||||
|
Loading…
Reference in New Issue
Block a user