fix(contextMenu): fixes for context menu icon (#3275)
This commit is contained in:
1 parent
bc642fd2b6
commit
dd22e37e4c
15 files changed
+44
-28
No files matched your search
@@ -111,7 +111,7 @@ export function findMenu(
|
||||
* @returns
|
||||
*/
|
||||
export function getMenuItems(
|
||||
selectorProps: Types.IProps,
|
||||
selectorProps: SelectorProps,
|
||||
event: Event,
|
||||
menus: Menu[],
|
||||
menuIdFilter?: string
|
||||
@@ -171,7 +171,7 @@ export function adaptItem(
|
||||
};
|
||||
|
||||
if (item.actionType === 'ShowSubMenu' && !newItem.iconRight) {
|
||||
newItem.iconRight = 'chevron-right';
|
||||
newItem.iconRight = 'chevron-menu';
|
||||
}
|
||||
if (!item.action) {
|
||||
newItem.action = (itemRef, componentProps) => {
|
||||
|
||||
Reference in new issue
Block a user