This commit is contained in:
Mirco Wittrien 2020-05-20 11:59:55 +02:00
parent d1451d12f7
commit b087faa16c
2 changed files with 2 additions and 2 deletions

View File

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

File diff suppressed because one or more lines are too long