Merge branch 'appconfig_ui' of github.com:cryptpad/cryptpad into appconfig_ui

This commit is contained in:
David Benque 2024-06-24 10:53:57 +01:00
commit ea64d9b068
1 changed files with 2 additions and 2 deletions

View File

@ -227,8 +227,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;
};