Fully remount component settings when changing selected component
This commit is contained in:
parent
e4b8933067
commit
0ed3775a6d
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue