commit: e2209e1104ae942595799bc80975d76fcbb654be
parent: 2c5068727997d4b223e74e765df75d9773b954f7
Author: Eugen Rochko <eugen@zeonfederated.com>
Date: Sun, 26 Feb 2017 01:27:22 +0100
Fix local timeline showing unread status of TWKN timeline
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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'])
});