push subscriptions managment
This commit is contained in:
@ -31,7 +31,7 @@ self.addEventListener('push', function (event) {
|
||||
registration.showNotification(data.title, {
|
||||
body: data.message,
|
||||
icon: '/favicon.ico',
|
||||
actions: [...data.actions, { action: 'close', title: 'Close', icon: 'fa fa-times' }],
|
||||
actions: [{ action: 'close', title: 'Close', icon: 'fa fa-times' }],
|
||||
data: data.url,
|
||||
})
|
||||
)
|
||||
|
Reference in New Issue
Block a user