From 527e98e0d107f7f503939cbaca6476f0e4514f7e Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Fri, 14 Feb 2025 15:44:38 +0800 Subject: [PATCH] fix: Correct summary card display condition in Note component --- src/components/note/Note.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/note/Note.astro b/src/components/note/Note.astro index 89fda86..80d585e 100644 --- a/src/components/note/Note.astro +++ b/src/components/note/Note.astro @@ -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 && (
{note.data.description}