diff --git a/src/common.tsx b/src/common.tsx index 1ab691d..a3f6772 100644 --- a/src/common.tsx +++ b/src/common.tsx @@ -300,9 +300,8 @@ export function ActionGroup(p: { actions: ActionInfo[], identifierSubstring?: st event: React.MouseEvent, index: number, ) => { - // setSelectedIndex(index); - actionItems[0].click() - setOpen(false); + setSelectedIndex(index); + setOpen(false) }; const handleToggle = () => {