diff --git a/frontend/app/components/wp-edit-form/work-package-edit-form.ts b/frontend/app/components/wp-edit-form/work-package-edit-form.ts index fe3c8f350a..22d7fc92e3 100644 --- a/frontend/app/components/wp-edit-form/work-package-edit-form.ts +++ b/frontend/app/components/wp-edit-form/work-package-edit-form.ts @@ -204,7 +204,7 @@ export class WorkPackageEditForm { fields.forEach((name:string) => { const handler = this.activeFields[name]; - handler.deactivate(); + handler && handler.deactivate(); }); }