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 0ee9c67825
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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}