Only show icon if an error message is present

This commit is contained in:
Andrew Kingston 2023-07-20 14:31:20 +01:00
parent 08920f8015
commit 1f6466f0eb
1 changed files with 3 additions and 1 deletions

View File

@ -161,7 +161,9 @@
Success
{:else}
Failure
<Icon name="Help" tooltip={errors[column.name]} />
{#if errors[column.name]}
<Icon name="Help" tooltip={errors[column.name]} />
{/if}
{/if}
</span>
<Icon