mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-24 19:21:31 +08:00
fix: Correct summary card display condition in Note component
This commit is contained in:
@ -79,7 +79,7 @@ if (modifiedDate && modifiedDate.toDateString() === date.toDateString()) {
|
|||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{
|
{
|
||||||
isPreview && note.data.description && note.data.description.trim().length > 0 && (
|
!isPreview && note.data.description && note.data.description.trim().length > 0 && (
|
||||||
<Card heading="摘要(由llm生成)" altText="摘要" class="my-4 w-full">
|
<Card heading="摘要(由llm生成)" altText="摘要" class="my-4 w-full">
|
||||||
<div class="text-muted-foreground ml-4">{note.data.description}</div>
|
<div class="text-muted-foreground ml-4">{note.data.description}</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
Reference in New Issue
Block a user