add functionality to delete employee button #11
@ -1,4 +1,4 @@
|
||||
import {Component, EventEmitter, Inject, inject, Output} from '@angular/core';
|
||||
import {Component, Inject, inject} from '@angular/core';
|
||||
import {Employee} from "../Employee";
|
||||
import {
|
||||
MAT_DIALOG_DATA,
|
||||
@ -26,9 +26,6 @@ import EmployeeApiService from "../services/employee-api.service";
|
||||
export class DeleteEmployeeComponent {
|
||||
private apiService: EmployeeApiService = inject(EmployeeApiService);
|
||||
|
||||
@Output()
|
||||
private deleteEvent: EventEmitter<null> = new EventEmitter();
|
||||
|
||||
constructor(@Inject(MAT_DIALOG_DATA) protected employee: Employee) {
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user