Browse Source

Confirm when removing contributor.

pull/443/head
Sebastian Stehle 6 years ago
parent
commit
aed21d5211
  1. 6
      frontend/app/features/settings/pages/contributors/contributor.component.ts

6
frontend/app/features/settings/pages/contributors/contributor.component.ts

@ -34,7 +34,11 @@ import {
</select> </select>
</td> </td>
<td class="cell-actions"> <td class="cell-actions">
<button type="button" class="btn btn-text-danger" [disabled]="!contributor.canRevoke" (click)="remove()"> <button type="button" class="btn btn-text-danger"
[disabled]="!contributor.canRevoke"
(sqxConfirmClick)="remove()"
confirmTitle="Remove contributor"
confirmText="Do you really want to remove the contributor?">
<i class="icon-bin2"></i> <i class="icon-bin2"></i>
</button> </button>
</td> </td>

Loading…
Cancel
Save