From 2ab40d51dc4dfafe40d0fdfafc55dba6db6e0507 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 18 Nov 2021 20:38:55 +0000 Subject: [PATCH] Update logic for determining whether to show empty state or not --- packages/client/src/components/Component.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/components/Component.svelte b/packages/client/src/components/Component.svelte index b248ee1277..d8cdbd3f53 100644 --- a/packages/client/src/components/Component.svelte +++ b/packages/client/src/components/Component.svelte @@ -76,7 +76,7 @@ // coerced to booleans $: editable = !!definition?.editable $: hasChildren = !!definition?.hasChildren - $: showEmptyState = !!definition?.showEmptyState + $: showEmptyState = definition?.showEmptyState !== false // Interactive components can be selected, dragged and highlighted inside // the builder preview