Merge pull request #6914 from Budibase/fix/remounting-settings

Fix remounting component settings
This commit is contained in:
Andrew Kingston 2022-07-27 16:35:34 +01:00 committed by GitHub
commit 8820668f03
1 changed files with 22 additions and 16 deletions

View File

@ -27,20 +27,26 @@
</script> </script>
{#if $selectedComponent} {#if $selectedComponent}
<Panel {title} icon={componentDefinition.icon} borderLeft> {#key $selectedComponent._id}
<ComponentSettingsSection <Panel {title} icon={componentDefinition.icon} borderLeft>
{componentInstance} <ComponentSettingsSection
{componentDefinition} {componentInstance}
{bindings} {componentDefinition}
{componentBindings} {bindings}
{isScreen} {componentBindings}
/> {isScreen}
<DesignSection {componentInstance} {componentDefinition} {bindings} /> />
<CustomStylesSection {componentInstance} {componentDefinition} {bindings} /> <DesignSection {componentInstance} {componentDefinition} {bindings} />
<ConditionalUISection <CustomStylesSection
{componentInstance} {componentInstance}
{componentDefinition} {componentDefinition}
{bindings} {bindings}
/> />
</Panel> <ConditionalUISection
{componentInstance}
{componentDefinition}
{bindings}
/>
</Panel>
{/key}
{/if} {/if}