From 978a0f76abc27403447b262befa67dcc2b23aa89 Mon Sep 17 00:00:00 2001 From: Konstantin Markov Date: Wed, 18 Dec 2024 15:48:41 +0200 Subject: [PATCH] Fix comment --- .../components/planning-editor-standalone/profile-fields.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;