Skip to content

Commit

Permalink
fix: 修复首次打开接口enable失效的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon committed Apr 29, 2023
1 parent c66b117 commit f7b2c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/Translator/components/TargetArea/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function TargetArea() {
}}
>
{Object.keys(interfaces).map((x) => {
if (get(`${x}_enable`) && true) {
if (get(`${x}_enable`) ?? true) {
return (
<MenuItem
value={x}
Expand Down

0 comments on commit f7b2c57

Please sign in to comment.