UI: Fix #1957
This commit is contained in:
parent
f43bd696f5
commit
5fe2e9b948
1 changed files with 3 additions and 3 deletions
|
@ -50,13 +50,13 @@
|
|||
|
||||
<div>
|
||||
{#each parts as part, i}
|
||||
{#if part.subs}
|
||||
{#if part["subs"]}
|
||||
<!-- This is a field! -->
|
||||
<span class="mx-1">
|
||||
<ValidatedInput value={fieldValues[part.subs]} type={fieldTypes[part.subs]} />
|
||||
<ValidatedInput value={fieldValues[part["subs"]]} type={fieldTypes[part["subs"]]} />
|
||||
</span>
|
||||
{:else}
|
||||
{part.message}
|
||||
{@html part["message"]}
|
||||
{/if}
|
||||
{/each}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue