We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e754a7a commit e4c630fCopy full SHA for e4c630f
src/services/configService.js
@@ -1,4 +1,4 @@
1
-import { CONFIG_SETTINGS, TELEMETRY_SETTINGS } from "@/modules/settings.js";
+import { CONFIG_SETTINGS } from "@/modules/settings.js";
2
3
export function getConfigs() {
4
Object.keys(CONFIG_SETTINGS).forEach((key) =>
@@ -8,7 +8,9 @@ export function getConfigs() {
8
9
export function setConfigs(data) {
10
Object.keys(CONFIG_SETTINGS).forEach((key) => {
11
- window.renderer.send("BOARD:SET_CONFIG", [key, data[key].value]);
+ if (key in data) {
12
+ window.renderer.send("BOARD:SET_CONFIG", [key, data[key].value]);
13
+ }
14
});
15
16
window.renderer.send("BOARD:SAVE");
0 commit comments