Browse Source
Merge pull request #682 from Budibase/fix/table-linked-record-display
Fix issue displaying linked records in a table
pull/693/head
Andrew Kingston
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
packages/standard-components/src/DataTable.svelte
|
|
|
@ -99,7 +99,7 @@ |
|
|
|
{#if schema[header].type === 'attachment'} |
|
|
|
<AttachmentList files={row[header]} /> |
|
|
|
{: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]} |
|
|
|
<td>{row[header]}</td> |
|
|
|
{/if} |
|
|
|
|