Browse Source

Fix notification badge

closed-social-glitch-2
Thibaut Girka 5 years ago
committed by ThibG
parent
commit
0f41be5581
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/javascript/flavours/glitch/features/ui/components/notifications_counter_icon.js

+ 2
- 2
app/javascript/flavours/glitch/features/ui/components/notifications_counter_icon.js View 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);

Loading…
Cancel
Save