mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix action modal links
This commit is contained in:
parent
82b521b4c3
commit
49734c03fd
@ -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…
Reference in New Issue
Block a user