add property to settings

This commit is contained in:
Shin'ya Ueoka 2018-01-04 20:34:33 +09:00
parent fbdec04786
commit e19f89f162
4 changed files with 61 additions and 9 deletions

View file

@ -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) => {