Skip to content

Commit

Permalink
perf: 修改成 bool
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Jun 6, 2023
1 parent 675c2ae commit fa4748f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class ElementAdvancedOptionComponent implements OnChanges {
},
options: this.boolChoices,
label: 'Backspace as Ctrl+H',
value: this.setting.backspaceAsCtrlH
value: !!this.setting.backspaceAsCtrlH
}
];
this.advancedOptions = this.advancedOptions.filter(i => !i.hidden());
Expand Down

0 comments on commit fa4748f

Please sign in to comment.