diff --git a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/LogicEditor.tsx b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/LogicEditor.tsx index 25faa59c00..db469491f7 100644 --- a/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/LogicEditor.tsx +++ b/apps/web/app/(app)/environments/[environmentId]/surveys/[surveyId]/edit/components/LogicEditor.tsx @@ -281,13 +281,16 @@ export default function LogicEditor({ - {logicConditions[logic.condition].values?.map((value) => ( - -
-

{value}

-
-
- ))} + {logicConditions[logic.condition].values?.map((value) => { + if (!value) return; + return ( + +
+

{value}

+
+
+ ); + })}
) : ( @@ -339,7 +342,7 @@ export default function LogicEditor({ (question, idx) => idx !== questionIdx && ( -
+

{question.headline}