Skip to content

Commit 7a5cd39

Browse files
authored
fix: correct excerpt auto-generate logic (#17)
1 parent 92074a9 commit 7a5cd39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/views/tabs/MarkdownImport.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ async function createPost(item: ImportItem, raw: string) {
300300
visible: 'PUBLIC',
301301
priority: 0,
302302
excerpt: {
303-
autoGenerate: !!finalExcerpt,
303+
autoGenerate: !finalExcerpt,
304304
raw: finalExcerpt,
305305
},
306306
categories: categoryNames,

0 commit comments

Comments
 (0)