about summary refs log tree commit diff
path: root/app/assets/javascripts
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-02-26 01:27:22 +0100
committerEugen Rochko <eugen@zeonfederated.com>2017-02-26 01:27:22 +0100
commite2209e1104ae942595799bc80975d76fcbb654be (patch)
treee84d21419e68761bc3e359012b29ffdad92deba0 /app/assets/javascripts
parent2c5068727997d4b223e74e765df75d9773b954f7 (diff)
Fix local timeline showing unread status of TWKN timeline
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/components/features/community_timeline/index.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/components/features/community_timeline/index.jsx b/app/assets/javascripts/components/features/community_timeline/index.jsx
index 38b98f083..aa1b8368e 100644
--- a/app/assets/javascripts/components/features/community_timeline/index.jsx
+++ b/app/assets/javascripts/components/features/community_timeline/index.jsx
@@ -16,7 +16,7 @@ const messages = defineMessages({
 });
 
 const mapStateToProps = state => ({
-  hasUnread: state.getIn(['timelines', 'public', 'unread']) > 0,
+  hasUnread: state.getIn(['timelines', 'community', 'unread']) > 0,
   accessToken: state.getIn(['meta', 'access_token'])
 });