feat: add navigation to employee overview after update
This commit is contained in:
parent
8abc5855dd
commit
feaf8f54d2
3 changed files with 13 additions and 3 deletions
|
@ -28,7 +28,12 @@ export class MitarbeiterFormComponent {
|
|||
|
||||
}
|
||||
|
||||
returnToEmployeeOverview() {
|
||||
this.router.navigate(["mitarbeiter"]);
|
||||
}
|
||||
|
||||
private setupForm() {
|
||||
|
||||
this.mitarbeiterForm = new FormGroup({
|
||||
lastName: new FormControl(this.mitarbeiter.lastName),
|
||||
firstName: new FormControl(this.mitarbeiter.firstName),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue