Fix bug of repository can not delete on card view

Fix argument types of repo delete function
This commit is contained in:
Deng, Qian 2018-08-03 13:34:31 +08:00
parent a7fc977bc3
commit 6a71188ecf

View File

@ -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>