Skip to content
Snippets Groups Projects
Commit 2c6338c6 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

OZG-4995 Remove unnecessary form reset

parent eb9f1745
No related branches found
No related tags found
No related merge requests found
...@@ -101,7 +101,6 @@ export class OrganisationseinheitFormservice { ...@@ -101,7 +101,6 @@ export class OrganisationseinheitFormservice {
} }
public patch(organisationseinheit: Organisationseinheit): void { public patch(organisationseinheit: Organisationseinheit): void {
this.form.reset();
this.source = organisationseinheit; this.source = organisationseinheit;
this.form.patchValue({ this.form.patchValue({
[OrganisationseinheitFormservice.ORGANISATIONSEINHEIT_NAME_FIELD]: organisationseinheit.name, [OrganisationseinheitFormservice.ORGANISATIONSEINHEIT_NAME_FIELD]: organisationseinheit.name,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment