about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-06 14:13:15 +0100
committerThibG <thib@sitedethib.com>2019-02-06 14:37:57 +0100
commit3ce34ce7a2795b8fbea618a8c869d9447f5a60b5 (patch)
tree94e134e811b1a2fe35a6dbc2db6e18ec75b12c7b /app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js
parentc9d261753aa4f3ec3439925fed03ea098bb96f72 (diff)
Fix unfolding CWs on public hashtag page
Fixes #909
Diffstat (limited to 'app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js')
-rw-r--r--app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js b/app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js
index e41b1dc88..6d3909ea7 100644
--- a/app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js
+++ b/app/javascript/flavours/glitch/features/status/containers/detailed_status_container.js
@@ -160,14 +160,6 @@ const mapDispatchToProps = (dispatch, { intl }) => ({
     }
   },
 
-  onToggleHidden (status) {
-    if (status.get('hidden')) {
-      dispatch(revealStatus(status.get('id')));
-    } else {
-      dispatch(hideStatus(status.get('id')));
-    }
-  },
-
 });
 
 export default injectIntl(connect(makeMapStateToProps, mapDispatchToProps)(DetailedStatus));