mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 21:21:10 +02:00
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:
parent
169821de1a
commit
979564540a
1 changed files with 2 additions and 3 deletions
|
|
@ -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">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue