diff --git a/frontend/src/lib/components/DocumentCard.svelte b/frontend/src/lib/components/DocumentCard.svelte index 9f6a3c1..aa3443a 100644 --- a/frontend/src/lib/components/DocumentCard.svelte +++ b/frontend/src/lib/components/DocumentCard.svelte @@ -1,4 +1,5 @@ -{@const Tag = onselect ? 'button' : 'a'} - { e.preventDefault(); onselect(doc); } : undefined} + @@ -38,17 +44,12 @@ - {doc.title || '제목 없음'} - - {#if doc.ai_summary} {doc.ai_summary.slice(0, 100)} {/if} - - {#if showDomain && doc.ai_domain} @@ -80,4 +81,4 @@ {formatSize(doc.file_size)} {/if} - +
{doc.title || '제목 없음'}
{doc.ai_summary.slice(0, 100)}