From ac24f84be0d527ee852a3fdd97373b16200c499f Mon Sep 17 00:00:00 2001 From: tkleinke Date: Mon, 13 Nov 2023 12:39:26 +0100 Subject: [PATCH] Fix hiding fields of custom categories --- .../configuration/editor/field/field-editor-modal.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/src/app/components/configuration/editor/field/field-editor-modal.component.ts b/desktop/src/app/components/configuration/editor/field/field-editor-modal.component.ts index 7eaa00d8db..14bb2f0ca4 100644 --- a/desktop/src/app/components/configuration/editor/field/field-editor-modal.component.ts +++ b/desktop/src/app/components/configuration/editor/field/field-editor-modal.component.ts @@ -227,7 +227,7 @@ export class FieldEditorModalComponent extends ConfigurationEditorModalComponent return this.new || this.getCustomFieldDefinition()?.inputType !== this.getClonedFieldDefinition()?.inputType - || !equal(this.getCustomFormDefinition().hidden)(this.getClonedFormDefinition().hidden) + || !equal(this.getCustomFormDefinition().hidden ?? [])(this.getClonedFormDefinition().hidden ?? []) || this.isValuelistChanged() || this.isConstraintIndexedChanged() || this.isSubfieldsChanged()