This commit is contained in:
Timothy Jaeryang Baek 2025-09-15 12:10:45 -05:00
parent b6a2ca877a
commit 24971ffce0

View file

@ -236,7 +236,7 @@
/>
{:else}
<div class="max-h-96 overflow-scroll scrollbar-hidden text-xs whitespace-pre-wrap">
{item?.file?.data?.content ?? 'No content'}
{(item?.file?.data?.content ?? '').trim() || 'No content'}
</div>
{/if}
{:else}
@ -251,7 +251,7 @@
{#if item?.file?.data}
<div class="max-h-96 overflow-scroll scrollbar-hidden text-xs whitespace-pre-wrap">
{item?.file?.data?.content ?? 'No content'}
{(item?.file?.data?.content ?? '').trim() || 'No content'}
</div>
{/if}
{/if}