show "english" option only for other languages

Massimo Melina committed Jan 16, 2025 at 19:41 UTC 00cddd16dcda5e6adff2ff1f5f3750080fcda408
1 file changed +1 -1
frontend/src/options.ts
+1 -1
@@ -75,7 +75,7 @@ export function showOptions (){
75 }
76 }),
77
78 - h(Checkbox, {
78 + !_.isEmpty(getHFS().lang) && h(Checkbox, {
79 id: 'option-english',
80 value: snap.disableTranslation,
81 onChange(v) {