aboutsummaryrefslogtreecommitdiff
path: root/src/shared/settings/values.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/settings/values.js')
-rw-r--r--src/shared/settings/values.js18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/shared/settings/values.js b/src/shared/settings/values.js
index 4e55fa0..5027ba5 100644
--- a/src/shared/settings/values.js
+++ b/src/shared/settings/values.js
@@ -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) => {