tried something
This commit is contained in:
parent
367b7d0853
commit
5ac65a2fc0
@ -358,7 +358,7 @@ export function ActionGroup(p: { actions: ActionInfo[], identifierSubstring?: st
|
||||
return <MenuItem
|
||||
key={option.props.action.name}
|
||||
selected={index === selectedIndex}
|
||||
// onClick={(event) => handleMenuItemClick(event, index)}
|
||||
onClick={(event) => option.onClick(event)}
|
||||
disabled={!isUserAllowed(user, option.props.action)}
|
||||
>
|
||||
{option.props.action.name}
|
||||
|
Loading…
x
Reference in New Issue
Block a user