This commit is contained in:
Mirco Wittrien 2020-04-09 21:00:44 +02:00
commit 67da8600b7
2 changed files with 2 additions and 2 deletions

View File

@ -2112,7 +2112,7 @@
InternalBDFDB.setDefaultProps = function (component, defaultProps) {
if (BDFDB.ObjectUtils.is(component)) component.defaultProps = Object.assign({}, component.defaultProps, defaultProps);
};
InternalBDFDB.loadPatchedComp = function (name) {
InternalBDFDB.loadPatchedComp = function (path) {
let comp = BDFDB.ReactUtils.getValue(window.BDFDB, `LibraryComponents.${path}`);
if (comp && comp.prototype && comp.prototype.BDFDBpatch) return comp;
};

File diff suppressed because one or more lines are too long