fix: posts not showing if text is null

This commit is contained in:
naskya 2023-08-31 12:57:36 +09:00
parent 231fbda780
commit 74d56b297b
Signed by: naskya
GPG key ID: 164DFF24E2D40139
2 changed files with 2 additions and 0 deletions

View file

@ -370,6 +370,7 @@ const localLang = localStorage.getItem("lang");
const isForeignLanguage: boolean =
defaultStore.state.detectPostLanguage &&
appearNote.value.text != null &&
(() => {
const targetLanguage = (
localTranslateLang ||

View file

@ -291,6 +291,7 @@ const localLang = localStorage.getItem("lang");
const isForeignLanguage: boolean =
defaultStore.state.detectPostLanguage &&
appearNote.value.text != null &&
(() => {
const targetLanguage = (
localTranslateLang ||