Add support for new relationship object in backend table

This commit is contained in:
Andrew Kingston 2021-02-25 11:05:46 +00:00
parent d18a7ff294
commit bf384697d3
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
class:link={!!items.length} class:link={!!items.length}
on:click={() => selectRelationship(row, columnName)}> on:click={() => selectRelationship(row, columnName)}>
{#each items as item} {#each items as item}
<div class="item">{item}</div> <div class="item">{item?.primaryDisplay ?? ''}</div>
{/each} {/each}
</div> </div>

View File

@ -7,7 +7,7 @@
<div class="container"> <div class="container">
{#each items as item} {#each items as item}
<div class="item">{item}</div> <div class="item">{item?.primaryDisplay}</div>
{/each} {/each}
</div> </div>