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 8778fd4 commit 60e7c1dCopy full SHA for 60e7c1d
main.js
@@ -1033,6 +1033,17 @@ function main() {
1033
!debugMode && patchFont()
1034
.then(patched => patched && adapter.log.debug('Font patched'));
1035
1036
+ // correct jsonConfig for admin
1037
+ adapter.getForeignObject('system.adapter.' + adapter.namespace, (err, obj) => {
1038
+ if (obj && obj.common) {
1039
+ if (obj.common.adminUI?.config !== 'json') {
1040
+ obj.common.adminUI = obj.common.adminUI || {};
1041
+ obj.common.adminUI.config = 'json';
1042
+ adapter.setForeignObject(obj._id, obj);
1043
+ }
1044
1045
+ });
1046
+
1047
// todo
1048
context.errorLogFunction = webstormDebug ? console : adapter.log;
1049
activeStr = `${adapter.namespace}.scriptEnabled.`;
0 commit comments