mirror of
https://github.com/mastodon/mastodon.git
synced 2025-01-23 02:21:41 +01:00
Fix hide reblogs in glitch frontend (#5909)
This applies 432761f37574b4e4159283f595e6c094b7bde449 to the glitch copy of the Mastodon frontend.
This commit is contained in:
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…
x
Reference in New Issue
Block a user