add confirmation and icon red for delete

This commit is contained in:
2025-10-27 16:32:40 +11:00
parent cbb61b796f
commit 0282169320
2 changed files with 25 additions and 3 deletions
+1 -1
View File
@@ -27,7 +27,7 @@
<td >{{item.photo}}</td>
<td>
<button pButton type="button" icon="pi pi-times" class="p-button-rounded p-button-text p-button-raised"
<button pButton type="button" icon="pi pi-times" class="p-button-rounded text-red-500 p-button-text p-button-raised mr-2"
(click)="remove(item.id)"></button>
@if (item.id > 0) {