about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/account_timeline
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2017-12-06 22:35:45 -0600
committerDavid Yip <yipdw@member.fsf.org>2017-12-06 22:35:45 -0600
commit67d625c42d35dcc01d3e9bde910e5ac88b63b979 (patch)
treea8cd081ce4e8dc8197405877e42d63beefc69f44 /app/javascript/flavours/glitch/features/account_timeline
parentddb61deccefeda2346e64002528764841bcb7315 (diff)
Fix hide reblogs in glitch frontend (#5909)
This applies 432761f37574b4e4159283f595e6c094b7bde449 to the glitch copy
of the Mastodon frontend.
Diffstat (limited to 'app/javascript/flavours/glitch/features/account_timeline')
-rw-r--r--app/javascript/flavours/glitch/features/account_timeline/containers/header_container.js2
1 files changed, 1 insertions, 1 deletions
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));