mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-21 21:29:20 +01:00
Fix logic not checking different language
This commit is contained in:
parent
bc3e946f61
commit
d8b385a742
1 changed files with 2 additions and 3 deletions
|
@ -1127,9 +1127,8 @@ function Status({
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{((enableTranslate && !!content.trim() && differentLanguage) ||
|
{(((enableTranslate || inlineTranslate) && !!content.trim() && differentLanguage) ||
|
||||||
forceTranslate ||
|
forceTranslate) && (
|
||||||
inlineTranslate) && (
|
|
||||||
<TranslationBlock
|
<TranslationBlock
|
||||||
forceTranslate={forceTranslate || inlineTranslate}
|
forceTranslate={forceTranslate || inlineTranslate}
|
||||||
mini={!isSizeLarge && !withinContext}
|
mini={!isSizeLarge && !withinContext}
|
||||||
|
|
Loading…
Reference in a new issue