forked from naskya/firefish
fix: posts not showing if text is null
This commit is contained in:
parent
231fbda780
commit
74d56b297b
2 changed files with 2 additions and 0 deletions
|
@ -370,6 +370,7 @@ const localLang = localStorage.getItem("lang");
|
|||
|
||||
const isForeignLanguage: boolean =
|
||||
defaultStore.state.detectPostLanguage &&
|
||||
appearNote.value.text != null &&
|
||||
(() => {
|
||||
const targetLanguage = (
|
||||
localTranslateLang ||
|
||||
|
|
|
@ -291,6 +291,7 @@ const localLang = localStorage.getItem("lang");
|
|||
|
||||
const isForeignLanguage: boolean =
|
||||
defaultStore.state.detectPostLanguage &&
|
||||
appearNote.value.text != null &&
|
||||
(() => {
|
||||
const targetLanguage = (
|
||||
localTranslateLang ||
|
||||
|
|
Loading…
Reference in a new issue