add functionality to delete employee button (#11)

Reviewed-on: #11
Reviewed-by: Hernd Beidemann <huydw@proton.me>
This commit is contained in:
2024-12-18 13:02:46 +00:00
parent e0b3d7267f
commit c39229dc94
7 changed files with 93 additions and 42 deletions

View File

@ -37,7 +37,7 @@
<button mat-icon-button color="primary" [matTooltip]="'Edit employee'" class="!mr-2">
<mat-icon>edit</mat-icon>
</button>
<button mat-icon-button color="warn" [matTooltip]="'Delete employee'">
<button mat-icon-button color="warn" [matTooltip]="'Delete employee'" (click)="openDeleteDialogue(employee)">
<mat-icon>delete</mat-icon>
</button>
</td>