reload page after submit
This commit is contained in:
parent
1c3b9cc7f7
commit
27e77f7c01
@ -46,5 +46,6 @@ export class CreateEmployeeComponent implements OnInit{
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.employeeService.create(this.employeeForm.value as Employee).subscribe();
|
this.employeeService.create(this.employeeForm.value as Employee).subscribe();
|
||||||
|
location.reload();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user