From f7b2c579de77f316d0d7bd720a36ed76c381165b Mon Sep 17 00:00:00 2001 From: Pylogmon Date: Sun, 30 Apr 2023 01:32:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=A6=96=E6=AC=A1?= =?UTF-8?q?=E6=89=93=E5=BC=80=E6=8E=A5=E5=8F=A3enable=E5=A4=B1=E6=95=88?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/windows/Translator/components/TargetArea/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/Translator/components/TargetArea/index.jsx b/src/windows/Translator/components/TargetArea/index.jsx index 432d890b6f..f8df8b777d 100644 --- a/src/windows/Translator/components/TargetArea/index.jsx +++ b/src/windows/Translator/components/TargetArea/index.jsx @@ -152,7 +152,7 @@ export default function TargetArea() { }} > {Object.keys(interfaces).map((x) => { - if (get(`${x}_enable`) && true) { + if (get(`${x}_enable`) ?? true) { return (