]> cat aescling's git repositories - mastodon.git/commitdiff
Fix local timeline showing unread status of TWKN timeline
authorEugen Rochko <eugen@zeonfederated.com>
Sun, 26 Feb 2017 00:27:22 +0000 (01:27 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 26 Feb 2017 00:27:22 +0000 (01:27 +0100)
app/assets/javascripts/components/features/community_timeline/index.jsx

index 38b98f0836d09156f20ca5da59b04ae1e1b8763a..aa1b8368e9d6024e39ac97fe3ee63e620083c8dc 100644 (file)
@@ -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'])
 });