We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 471769b commit ae3986cCopy full SHA for ae3986c
1 file changed
web/src/data/store/config.js
@@ -45,12 +45,12 @@ export default {
45
return null
46
return {
47
title: String(v.title),
48
- description: String(v.description),
49
- info: String(v.info),
+ description: String(v.description ?? ''),
+ info: String(v.info ?? ''),
50
immediate: Boolean(v.immediate),
51
ignore_errors: Boolean(v.ignore_errors),
52
- args: String(v.args),
53
- icon: String(v.icon),
+ args: String(v.args ?? ''),
+ icon: String(v.icon ?? ''),
54
params: ! Array.isArray(v.params) ? [] : v.params.map(p =>
55
typeof p === 'string' ? p
56
: ! is_object(p) ? null
0 commit comments