fix(manacore): fix @const syntax error in ContextDocsWidget

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-24 11:17:45 +01:00
parent 169821de1a
commit 979564540a

View file

@ -116,9 +116,8 @@
<span class="text-base">{typeIcons[doc.type] || '📄'}</span>
<div class="min-w-0 flex-1">
<p class="truncate text-sm font-medium">{doc.title}</p>
{@const spaceName = getSpaceName(doc.spaceId)}
{#if spaceName}
<p class="truncate text-xs text-muted-foreground">{spaceName}</p>
{#if getSpaceName(doc.spaceId)}
<p class="truncate text-xs text-muted-foreground">{getSpaceName(doc.spaceId)}</p>
{/if}
</div>
<span class="flex-shrink-0 text-xs text-muted-foreground">