Fix hide reblogs in glitch frontend (#5909)

This applies 432761f375 to the glitch copy
of the Mastodon frontend.
master
David Yip 7 years ago
parent ddb61decce
commit 67d625c42d
No known key found for this signature in database
GPG Key ID: 7DA0036508FCC0CC
  1. 2
      app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js

@ -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…
Cancel
Save