feat: add navigation to employee overview after update

This commit is contained in:
Jan K9f 2025-01-15 11:40:51 +01:00
parent 8abc5855dd
commit feaf8f54d2
Signed by: jank
GPG key ID: 50620ADD22CD330B
3 changed files with 13 additions and 3 deletions

View file

@ -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),