diff --git a/src/conditionalLogicService/conditionallyShowElement.ts b/src/conditionalLogicService/conditionallyShowElement.ts index 1d0cd443..cc3c9285 100644 --- a/src/conditionalLogicService/conditionallyShowElement.ts +++ b/src/conditionalLogicService/conditionallyShowElement.ts @@ -95,9 +95,9 @@ export default function conditionallyShowElement( elementsEvaluated.push({ id: elementToEvaluate.id, label: - 'name' in elementToEvaluate - ? elementToEvaluate.name - : elementToEvaluate.label, + 'label' in elementToEvaluate + ? elementToEvaluate.label + : elementToEvaluate.name, }) }