Update TooltipMenu.ios.js

This commit is contained in:
Marcos Rodriguez Vélez 2021-08-23 15:54:22 -04:00
parent e2ed4cf00b
commit 0e75012045

View File

@ -12,9 +12,8 @@ const ToolTipMenu = props => {
menuOptions: action.menuOptions,
menuTitle: action.menuTitle,
};
if (action.menuStateOn) {
item.menuState = action.menuStateOn ? 'on' : 'off';
}
item.menuState = action.menuStateOn ? 'on' : 'off';
if (action.disabled) {
item.menuAttributes = ['disabled'];
}