Commit 49734c03 authored by Thibaut Girka's avatar Thibaut Girka Committed by ThibG

Fix action modal links

parent 82b521b4
......@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment