This commit is contained in:
Mirco Wittrien 2020-05-20 11:57:52 +02:00
parent 7e8be8db42
commit d1451d12f7
2 changed files with 2 additions and 2 deletions

View File

@ -3270,7 +3270,7 @@
BDFDB.ContextMenuUtils.createItem = function (component, props = {}) {
if (!component) return null;
else {
if (BDFDB.ObjectUtils.toArray(RealMenuItems).some(c => c == component)) return ReactUtils.createElement(component, props);
if (BDFDB.ObjectUtils.toArray(RealMenuItems).some(c => c == component)) return BDFDB.ReactUtils.createElement(component, props);
else return BDFDB.ContextMenuUtils.createItem(BDFDB.LibraryComponents.MenuItems.MenuItem, {
id: props.id,
disabled: props.disabled,

File diff suppressed because one or more lines are too long