fix: more Torsten's review

This commit is contained in:
Arman
2023-04-11 12:56:55 +02:00
parent 0bc245b55f
commit d2722ea0b4
2 changed files with 5 additions and 7 deletions
@@ -43,9 +43,7 @@
<span class="text">Add item</span>
</Button>
</div>
{/if}
{#if formValues[attribute.key].length !== 0}
{:else}
<ul class="u-grid u-gap-8">
{#each [...formValues[attribute.key].keys()] as index}
<li class="form-item is-multiple">
@@ -86,19 +86,19 @@
<TableRow>
<TableCell title="relation">
<span class="u-flex u-cross-center u-gap-8">
{#if attr?.twoWay}
{#if attr.twoWay}
<span class="icon-switch-horizontal" />
{:else}
<span class="icon-arrow-sm-right" />
{/if}
<span data-private>{attr?.key}</span>
<span data-private>{attr.key}</span>
</span>
</TableCell>
<TableCellText title="Settings">
{attr?.onDelete}
{attr.onDelete}
</TableCellText>
<TableCellText title="description">
{Deletion[attr?.onDelete]}
{Deletion[attr.onDelete]}
</TableCellText>
</TableRow>
{/each}