diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/settings/ConditionalUISection.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/settings/ConditionalUISection.svelte index ba84b67622..fca81f7652 100644 --- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/settings/ConditionalUISection.svelte +++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/settings/ConditionalUISection.svelte @@ -28,12 +28,15 @@ } drawer.hide() } + + $: conditionCount = componentInstance?._conditions?.length + $: conditionText = `${conditionCount || "No"} condition${ + conditionCount !== 1 ? "s" : "" + } set` - + +
{conditionText}
Configure conditions
@@ -45,3 +48,10 @@ + +