Browse Source
Merge pull request #6914 from Budibase/fix/remounting-settings
Fix remounting component settings
pull/6987/head
Andrew Kingston
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
22 additions and
16 deletions
-
packages/builder/src/pages/builder/app/[application]/design/[screenId]/components/[componentId]/_components/settings/ComponentSettingsPanel.svelte
|
|
|
@ -27,20 +27,26 @@ |
|
|
|
</script> |
|
|
|
|
|
|
|
{#if $selectedComponent} |
|
|
|
<Panel {title} icon={componentDefinition.icon} borderLeft> |
|
|
|
<ComponentSettingsSection |
|
|
|
{componentInstance} |
|
|
|
{componentDefinition} |
|
|
|
{bindings} |
|
|
|
{componentBindings} |
|
|
|
{isScreen} |
|
|
|
/> |
|
|
|
<DesignSection {componentInstance} {componentDefinition} {bindings} /> |
|
|
|
<CustomStylesSection {componentInstance} {componentDefinition} {bindings} /> |
|
|
|
<ConditionalUISection |
|
|
|
{componentInstance} |
|
|
|
{componentDefinition} |
|
|
|
{bindings} |
|
|
|
/> |
|
|
|
</Panel> |
|
|
|
{#key $selectedComponent._id} |
|
|
|
<Panel {title} icon={componentDefinition.icon} borderLeft> |
|
|
|
<ComponentSettingsSection |
|
|
|
{componentInstance} |
|
|
|
{componentDefinition} |
|
|
|
{bindings} |
|
|
|
{componentBindings} |
|
|
|
{isScreen} |
|
|
|
/> |
|
|
|
<DesignSection {componentInstance} {componentDefinition} {bindings} /> |
|
|
|
<CustomStylesSection |
|
|
|
{componentInstance} |
|
|
|
{componentDefinition} |
|
|
|
{bindings} |
|
|
|
/> |
|
|
|
<ConditionalUISection |
|
|
|
{componentInstance} |
|
|
|
{componentDefinition} |
|
|
|
{bindings} |
|
|
|
/> |
|
|
|
</Panel> |
|
|
|
{/key} |
|
|
|
{/if} |
|
|
|
|