Change how missing desktop notifications permission is displayed (#14985)
Add missing controls for new notification type
This commit is contained in:
parent
b4c4af18dc
commit
a69ca29473
9 changed files with 92 additions and 45 deletions
|
@ -3,7 +3,6 @@ import IconWithBadge from 'mastodon/components/icon_with_badge';
|
|||
|
||||
const mapStateToProps = state => ({
|
||||
count: state.getIn(['notifications', 'unread']),
|
||||
issueBadge: state.getIn(['settings', 'notifications', 'alerts']).includes(true) && state.getIn(['notifications', 'browserSupport']) && state.getIn(['notifications', 'browserPermission']) !== 'granted',
|
||||
id: 'bell',
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue