Commit 1b5a500d authored by Dorian Goepp's avatar Dorian Goepp

Disable the debug messages about default values being used

parent 50231483
...@@ -72,12 +72,12 @@ export class Modal extends Component { ...@@ -72,12 +72,12 @@ export class Modal extends Component {
else { else {
for (let [key, value] of Object.entries(schema.properties)) { for (let [key, value] of Object.entries(schema.properties)) {
if (!(key in config)) { if (!(key in config)) {
let message = "The key '" + key + "' is missing in the configuration."; // let message = "The key '" + key + "' is missing in the configuration.";
if ('default' in value) { if ('default' in value) {
config[key] = value.default; config[key] = value.default;
message += " Using default value '" + value.default + "'."; // message += " Using default value '" + value.default + "'.";
} }
console.debug(message); // console.debug(message);
} }
} }
return config; return config;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment