From 09bf4ecd428218daba5aa87ea3343a09397c60d9 Mon Sep 17 00:00:00 2001 From: Dean Date: Tue, 23 Aug 2022 10:52:25 +0100 Subject: [PATCH] Removed duplicated div structure --- .../src/components/common/bindings/BindingPanel.svelte | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/packages/builder/src/components/common/bindings/BindingPanel.svelte b/packages/builder/src/components/common/bindings/BindingPanel.svelte index 18dcb893c2..36fa191038 100644 --- a/packages/builder/src/components/common/bindings/BindingPanel.svelte +++ b/packages/builder/src/components/common/bindings/BindingPanel.svelte @@ -271,16 +271,10 @@ {/if} - {#if binding.display?.type} + {#if binding.display?.type || binding.fieldSchema?.type} - {binding.display.type} - - - {:else if binding.fieldSchema?.type} - - - {binding.fieldSchema?.type} + {binding.display?.type || binding.fieldSchema?.type} {/if}