Fix action modal links

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent 8bf74adabd
commit ad5aaf60c6

@ -18,7 +18,7 @@ const mapDispatchToProps = (dispatch, { status, items }) => ({
(item, i) => item ? {
...item,
name: `${item.text}-${i}`,
onClick: (e) => { return onItemClick(i, e) },
onClick: item.action ? ((e) => { return onItemClick(i, e) }) : null,
} : null
),
}) : openDropdownMenu(id, dropdownPlacement));

Loading…
Cancel
Save