add property to settings
This commit is contained in:
parent
fbdec04786
commit
e19f89f162
4 changed files with 61 additions and 9 deletions
|
@ -44,9 +44,12 @@ const valueFromForm = (form) => {
|
|||
}
|
||||
}
|
||||
|
||||
let blacklist = form.blacklist;
|
||||
|
||||
return { keymaps, search, blacklist };
|
||||
return {
|
||||
keymaps,
|
||||
search,
|
||||
blacklist: form.blacklist,
|
||||
properties: form.properties
|
||||
};
|
||||
};
|
||||
|
||||
const jsonFromValue = (value) => {
|
||||
|
@ -78,9 +81,12 @@ const formFromValue = (value, allowedOps) => {
|
|||
}
|
||||
}
|
||||
|
||||
let blacklist = value.blacklist;
|
||||
|
||||
return { keymaps, search, blacklist };
|
||||
return {
|
||||
keymaps,
|
||||
search,
|
||||
blacklist: value.blacklist,
|
||||
properties: value.properties,
|
||||
};
|
||||
};
|
||||
|
||||
const jsonFromForm = (form) => {
|
||||
|
|
Reference in a new issue