diff --git a/packages/builder/src/components/design/PropertiesPanel/ConditionalUISection.svelte b/packages/builder/src/components/design/PropertiesPanel/ConditionalUISection.svelte index b0863dce83..e8ca916d1f 100644 --- a/packages/builder/src/components/design/PropertiesPanel/ConditionalUISection.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/ConditionalUISection.svelte @@ -28,12 +28,18 @@ } drawer.hide() } + + $: conditionCount = componentInstance?._conditions?.length + $: conditionText = `${conditionCount || "No"} condition${ + conditionCount !== 1 ? "s" : "" + } set` +
{conditionText}
Configure conditions
@@ -45,3 +51,9 @@ + +