Settings: load app settings in their own scope
parent
361d7b838f
commit
c135c70f7e
|
|
@ -325,7 +325,7 @@ function showAppSettings(app) {
|
||||||
return showError('Missing settings');
|
return showError('Missing settings');
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
appSettings = eval(appSettings);
|
appSettings = eval('('+appSettings+')');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.log(`${app.name} settings error:`, e)
|
console.log(`${app.name} settings error:`, e)
|
||||||
return showError('Error in settings');
|
return showError('Error in settings');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue