FIX: Icon was not visible on menus

This commit is contained in:
Marcos Rodriguez Velez 2024-08-13 13:11:40 -04:00
parent 51f449c53e
commit 23c0a2ba55

View file

@ -46,6 +46,7 @@ const ToolTipMenu = React.memo((props: ToolTipMenuProps, ref?: Ref<any>) => {
return {
id: action.id.toString(),
title: action.text,
image: action.icon?.iconValue ? action.icon.iconValue : undefined,
state: action.menuState === undefined ? undefined : ((action.menuState ? 'on' : 'off') as MenuState),
attributes: { disabled: action.disabled },
};