1
0
Fork 0
mirror of synced 2024-07-02 04:50:44 +12:00

Fix keying in component design properties

This commit is contained in:
Andrew Kingston 2021-02-09 13:31:20 +00:00
parent c09b03a157
commit c7b110ff5c

View file

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