Fix falsey table values not being rendered

This commit is contained in:
Andrew Kingston 2020-10-12 11:02:03 +01:00
parent 75998ea746
commit 7ca3a65c54
1 changed files with 2 additions and 2 deletions

View File

@ -100,8 +100,8 @@
<AttachmentList files={row[header]} />
{:else if schema[header].type === 'link'}
<td>{row[header]} related row(s)</td>
{:else if row[header]}
<td>{row[header]}</td>
{:else}
<td>{row[header] == null ? '' : row[header]}</td>
{/if}
{/if}
{/each}