improve table-col rendering

This commit is contained in:
Ruben Fiszel
2023-07-16 22:37:35 +02:00
parent 8ed05dafc8
commit 8fe580755f
@@ -155,6 +155,10 @@
{typeof item === 'string' ? item : JSON.stringify(item)}
</div>
{/each}
{:else}
<div class="px-12 text-left text-xs whitespace-nowrap overflow-auto pb-2">
{typeof result[col] === 'string' ? result[col] : JSON.stringify(result[col])}
</div>
{/if}
</div>
{/each}