change file structure
Reviewed-on: #21 Reviewed-by: Get in my car i have candy <huydw@proton.me>
This commit is contained in:
6
src/app/employee/delete/delete.component.html
Normal file
6
src/app/employee/delete/delete.component.html
Normal file
@ -0,0 +1,6 @@
|
||||
<h2 mat-dialog-title>Delete {{employee.firstName}} {{employee.lastName}}</h2>
|
||||
<mat-dialog-content>Are you sure you want to delete {{employee.firstName}} {{employee.lastName}}? This cant be undone.</mat-dialog-content>
|
||||
<mat-dialog-actions>
|
||||
<button mat-button mat-dialog-close>Cancel</button>
|
||||
<button mat-button [mat-dialog-close]="true" (click)="deleteEmployee(employee.id ?? 0)">Delete</button>
|
||||
</mat-dialog-actions>
|
Reference in New Issue
Block a user