In probably dead code, replace a dispatch of muteAccount that was skipping the modal with launching the mute modal.
parent
5774861ece
commit
11088e5667
|
@ -59,7 +59,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
|||
if (account.getIn(['relationship', 'muting'])) {
|
||||
dispatch(unmuteAccount(account.get('id')));
|
||||
} else {
|
||||
dispatch(muteAccount(account.get('id')));
|
||||
dispatch(initMuteModal(account));
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue