about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorYamagishi Kazutoshi <ykzts@desire.sh>2017-12-07 11:37:31 +0900
committerEugen Rochko <eugen@zeonfederated.com>2017-12-07 03:37:31 +0100
commit432761f37574b4e4159283f595e6c094b7bde449 (patch)
tree991228bcf390d7e8a2337f3dd15446999f14af6a /app/javascript
parent9302369aa5648bab42a2cd6078607d7cbaa92458 (diff)
Fix hide reblogs (regression from #5887) (#5909)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/account_timeline/containers/header_container.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/account_timeline/containers/header_container.js b/app/javascript/mastodon/features/account_timeline/containers/header_container.js
index 775610032..b5e0e9a3f 100644
--- a/app/javascript/mastodon/features/account_timeline/containers/header_container.js
+++ b/app/javascript/mastodon/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));