Fix keying in component design properties

This commit is contained in:
Andrew Kingston 2021-02-09 13:31:20 +00:00
parent febc2ceda0
commit 9054e764e0
1 changed files with 1 additions and 1 deletions

View File

@ -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 (`${componentInstance._id}-${prop.key}`)} {#each properties as prop (`${componentInstance._id}-${prop.key}-${prop.label}`)}
<PropertyControl <PropertyControl
bindable={false} bindable={false}
label={`${prop.label}${hasPropChanged(style, prop) ? ' *' : ''}`} label={`${prop.label}${hasPropChanged(style, prop) ? ' *' : ''}`}