mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-16 12:12:14 +00:00
This commit is contained in:
parent
5f0cba2561
commit
8dfc45f757
|
@ -14,7 +14,9 @@ const mapStateToProps = state => ({
|
||||||
|
|
||||||
const mapDispatchToProps = (dispatch, { status, items }) => ({
|
const mapDispatchToProps = (dispatch, { status, items }) => ({
|
||||||
onOpen(id, onItemClick, dropdownPlacement, keyboard) {
|
onOpen(id, onItemClick, dropdownPlacement, keyboard) {
|
||||||
|
if (status) {
|
||||||
dispatch(fetchRelationships([status.getIn(['account', 'id'])]));
|
dispatch(fetchRelationships([status.getIn(['account', 'id'])]));
|
||||||
|
}
|
||||||
|
|
||||||
dispatch(isUserTouching() ? openModal('ACTIONS', {
|
dispatch(isUserTouching() ? openModal('ACTIONS', {
|
||||||
status,
|
status,
|
||||||
|
|
Loading…
Reference in a new issue