]> cat aescling's git repositories - mastodon.git/commitdiff
Fix notification badge
authorThibaut Girka <thib@sitedethib.com>
Wed, 12 Jun 2019 18:58:47 +0000 (20:58 +0200)
committerThibG <thib@sitedethib.com>
Thu, 13 Jun 2019 20:15:31 +0000 (22:15 +0200)
app/javascript/flavours/glitch/features/ui/components/notifications_counter_icon.js

index 679c02dcee56bbfc07e6846fc9249a5a56e689d2..6b52ef9b4621aa259f67008b852cc343b4a522df 100644 (file)
@@ -1,9 +1,9 @@
 import { connect } from 'react-redux';
-import IconWithBadge from 'flavours/glitch/components/icon';
+import IconWithBadge from 'flavours/glitch/components/icon_with_badge';
 
 const mapStateToProps = state => ({
   count: state.getIn(['local_settings', 'notifications', 'tab_badge']) ? state.getIn(['notifications', 'unread']) : 0,
-  icon: 'bell',
+  id: 'bell',
 });
 
 export default connect(mapStateToProps)(IconWithBadge);