mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fixed issues in the Preferences:
1) Show a single note in the binary path. 2) Resolved issue in the keyboard shortcut. refs #7149
This commit is contained in:
committed by
Akshay Joshi
parent
02e799c917
commit
931a399890
@@ -60,7 +60,7 @@ export default function KeyboardShortcuts({ value, onChange, fields }) {
|
||||
|
||||
const onCtrlChange = (e) => {
|
||||
let newVal = { ...value };
|
||||
newVal.ctrl = e.target.checked;
|
||||
newVal.control = e.target.checked;
|
||||
onChange(newVal);
|
||||
};
|
||||
|
||||
@@ -105,7 +105,7 @@ export default function KeyboardShortcuts({ value, onChange, fields }) {
|
||||
} else if (element.name == 'control') {
|
||||
return <Grid item lg={2} md={2} sm={2} xs={12} className={classes.inputLabel} key={_.uniqueId('c')}>
|
||||
<Box className={classes.inputCheckboxClass}>
|
||||
<InputCheckbox id={ctrlCid} helpid={ctrlhelpid} value={value?.ctrl}
|
||||
<InputCheckbox id={ctrlCid} helpid={ctrlhelpid} value={value?.control}
|
||||
controlProps={ctrlProps}
|
||||
onChange={onCtrlChange}></InputCheckbox>
|
||||
</Box>
|
||||
|
||||
Reference in New Issue
Block a user