Fix hide reblogs in glitch frontend (#5909)
This applies 432761f375
to the glitch copy
of the Mastodon frontend.
pull/252/head
parent
ddb61decce
commit
67d625c42d
|
@ -68,7 +68,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
|
||||||
},
|
},
|
||||||
|
|
||||||
onReblogToggle (account) {
|
onReblogToggle (account) {
|
||||||
if (account.getIn(['relationship', 'show_reblogs'])) {
|
if (account.getIn(['relationship', 'showing_reblogs'])) {
|
||||||
dispatch(followAccount(account.get('id'), false));
|
dispatch(followAccount(account.get('id'), false));
|
||||||
} else {
|
} else {
|
||||||
dispatch(followAccount(account.get('id'), true));
|
dispatch(followAccount(account.get('id'), true));
|
||||||
|
|
Loading…
Reference in New Issue