feat: implement employee deletion functionality
This commit is contained in:
parent
4c0371efb3
commit
c7f3bf5c54
3 changed files with 9 additions and 1 deletions
|
@ -47,7 +47,7 @@
|
|||
<td>{{ employee.phone }}</td>
|
||||
<td>
|
||||
<button (click)="editEmployee(employee.id)">Edit</button>
|
||||
<button>Delete</button>
|
||||
<button (click)="deleteEmployee(employee.id)">Delete</button>
|
||||
</td>
|
||||
</tr>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue