mirror of https://github.com/xwiki-labs/cryptpad
Merge branch 'appconfig_ui' into 2024.6-test
This commit is contained in:
commit
58f05dd5d6
|
@ -224,8 +224,8 @@ commands.SET_SUPPORT_MAILBOX = makeGenericSetter('supportMailbox', function (arg
|
|||
|
||||
commands.DISABLE_APPS = function (Env, args) {
|
||||
if (!Array.isArray(args)) { throw new Error("INVALID_ARGS"); }
|
||||
const appsToDisable = args;
|
||||
Env.appsToDisable = appsToDisable;
|
||||
if (JSON.stringify(args) === JSON.stringify(Env.appsToDisable)) { return false; }
|
||||
Env.appsToDisable = args;
|
||||
return true;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue