1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00

Merge pull request #682 from Budibase/fix/table-linked-record-display

Fix issue displaying linked records in a table
This commit is contained in:
Andrew Kingston 2020-10-09 12:51:18 +01:00 committed by GitHub
commit 384686c8ec

View file

@ -99,7 +99,7 @@
{#if schema[header].type === 'attachment'} {#if schema[header].type === 'attachment'}
<AttachmentList files={row[header]} /> <AttachmentList files={row[header]} />
{:else if schema[header].type === 'link'} {:else if schema[header].type === 'link'}
<td>{row[header] ? row[header].length : 0} related row(s)</td> <td>{row[header]} related row(s)</td>
{:else if row[header]} {:else if row[header]}
<td>{row[header]}</td> <td>{row[header]}</td>
{/if} {/if}