Key property group components so that they fully remount on component change
This commit is contained in:
parent
6bdde675a2
commit
5adc144330
|
@ -25,7 +25,7 @@
|
||||||
<DetailSummary name={`${name}${changed ? ' *' : ''}`} on:open show={open} thin>
|
<DetailSummary name={`${name}${changed ? ' *' : ''}`} on:open show={open} thin>
|
||||||
{#if open}
|
{#if open}
|
||||||
<div>
|
<div>
|
||||||
{#each properties as prop}
|
{#each properties as prop (`${componentInstance._id}-${prop.key}`)}
|
||||||
<PropertyControl
|
<PropertyControl
|
||||||
bindable={false}
|
bindable={false}
|
||||||
label={`${prop.label}${hasPropChanged(style, prop) ? ' *' : ''}`}
|
label={`${prop.label}${hasPropChanged(style, prop) ? ' *' : ''}`}
|
||||||
|
|
Loading…
Reference in New Issue