From 67d625c42d35dcc01d3e9bde910e5ac88b63b979 Mon Sep 17 00:00:00 2001 From: David Yip Date: Wed, 6 Dec 2017 22:35:45 -0600 Subject: Fix hide reblogs in glitch frontend (#5909) This applies 432761f37574b4e4159283f595e6c094b7bde449 to the glitch copy of the Mastodon frontend. --- .../glitch/features/account_timeline/containers/header_container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/javascript/flavours/glitch') diff --git a/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js b/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js index 9c0557f02..37ff445b2 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js +++ b/app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js @@ -68,7 +68,7 @@ const mapDispatchToProps = (dispatch, { intl }) => ({ }, onReblogToggle (account) { - if (account.getIn(['relationship', 'show_reblogs'])) { + if (account.getIn(['relationship', 'showing_reblogs'])) { dispatch(followAccount(account.get('id'), false)); } else { dispatch(followAccount(account.get('id'), true)); -- cgit