stuff
This commit is contained in:
parent
2e20663bd1
commit
e9f2e47527
|
@ -1244,7 +1244,7 @@
|
|||
}
|
||||
else delete module.BDFDBpatch[funcName][type];
|
||||
}
|
||||
if (!BDFDB.ObjectUtils.toArray(module.BDFDBpatch[funcName]).some(patchObj => BDFDB.ObjectUtils.is(patchObj) && !BDFDB.ObjectUtils.isEmpty(patchObj))) {
|
||||
if (!BDFDB.ObjectUtils.toArray(BDFDB.ObjectUtils.filter(module.BDFDBpatch[funcName], key => WebModulesData.Patchtypes.includes(key), true)).some(patchObj => BDFDB.ObjectUtils.is(patchObj) && !BDFDB.ObjectUtils.isEmpty(patchObj))) {
|
||||
module[funcName] = module.BDFDBpatch[funcName].originalMethod;
|
||||
delete module.BDFDBpatch[funcName];
|
||||
if (BDFDB.ObjectUtils.isEmpty(module.BDFDBpatch)) delete module.BDFDBpatch;
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue