diff --git a/packages/client/src/components/MkNote.vue b/packages/client/src/components/MkNote.vue index b99d87b7d..89cd3ace2 100644 --- a/packages/client/src/components/MkNote.vue +++ b/packages/client/src/components/MkNote.vue @@ -370,6 +370,7 @@ const localLang = localStorage.getItem("lang"); const isForeignLanguage: boolean = defaultStore.state.detectPostLanguage && + appearNote.value.text != null && (() => { const targetLanguage = ( localTranslateLang || diff --git a/packages/client/src/components/MkNoteSub.vue b/packages/client/src/components/MkNoteSub.vue index 015936888..281d13b68 100644 --- a/packages/client/src/components/MkNoteSub.vue +++ b/packages/client/src/components/MkNoteSub.vue @@ -291,6 +291,7 @@ const localLang = localStorage.getItem("lang"); const isForeignLanguage: boolean = defaultStore.state.detectPostLanguage && + appearNote.value.text != null && (() => { const targetLanguage = ( localTranslateLang ||