diff --git a/client/components/planning-editor-standalone/profile-fields.ts b/client/components/planning-editor-standalone/profile-fields.ts index c452a957f..0cd44be1a 100644 --- a/client/components/planning-editor-standalone/profile-fields.ts +++ b/client/components/planning-editor-standalone/profile-fields.ts @@ -36,8 +36,8 @@ export const getPlanningProfileFields = (): Array => { const fieldSchema = planningProfile.schema[fieldId]; /** - * If a field has show_in_embedded_editor or required toggled on - * we must show it in the embedded editor + * If a field does not have show_in_embedded_editor or required toggled on + * we must not show it in the embedded editor */ if (!(fieldSchema.show_in_embedded_editor || fieldSchema.required)) { continue;