1
0
Fork 0
mirror of synced 2024-07-02 13:01:09 +12:00

Key property group components so that they fully remount on component change

This commit is contained in:
Andrew Kingston 2021-02-05 13:48:26 +00:00
parent 06b70706e3
commit 7c3ccf69f9

View file

@ -25,7 +25,7 @@
<DetailSummary name={`${name}${changed ? ' *' : ''}`} on:open show={open} thin>
{#if open}
<div>
{#each properties as prop}
{#each properties as prop (`${componentInstance._id}-${prop.key}`)}
<PropertyControl
bindable={false}
label={`${prop.label}${hasPropChanged(style, prop) ? ' *' : ''}`}