From 580f583db9f39ebe6765985f46d59835ae165c68 Mon Sep 17 00:00:00 2001 From: Yuehu Lin Date: Mon, 31 Jul 2023 23:36:19 +0800 Subject: [PATCH] refactor(post): remove duplicate isDraft condition --- components/ListItem.vue | 5 ++++- components/ListPage.vue | 5 +++-- types/index.d.ts | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/components/ListItem.vue b/components/ListItem.vue index 2cef896..f31e195 100644 --- a/components/ListItem.vue +++ b/components/ListItem.vue @@ -29,7 +29,7 @@ class="text-xl font-bold leading-8 tracking-tight text-gray-900 dark:text-gray-100" > {{ item.title }} - +

{{ item.title_en }} @@ -48,6 +48,9 @@