1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-03 09:19:05 +09:00

Fix action modal links

This commit is contained in:
Thibaut Girka 2018-09-11 21:18:23 +02:00 committed by ThibG
parent 82b521b4c3
commit 49734c03fd

View File

@ -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));