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
|
@ -11,7 +11,7 @@ import { showAlert } from '../../../actions/alerts';
|
|||
const messages = defineMessages({
|
||||
clearMessage: { id: 'notifications.clear_confirmation', defaultMessage: 'Are you sure you want to permanently clear all your notifications?' },
|
||||
clearConfirm: { id: 'notifications.clear', defaultMessage: 'Clear notifications' },
|
||||
permissionDenied: { id: 'notifications.permission_denied', defaultMessage: 'Cannot enable desktop notifications as permission has been denied.' },
|
||||
permissionDenied: { id: 'notifications.permission_denied_alert', defaultMessage: 'Desktop notifications can\'t be enabled, as browser permission has been denied before' },
|
||||
});
|
||||
|
||||
const mapStateToProps = state => ({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue