When I dismiss the banner by clicking Save, and I have not chosen any option, there's no need for the browser to ask for permission to send push notifications.
Steps to reproduce
====================
1. Open any page on where the push notification bell is visible
2. Click the push notification bell
3. Make sure no options are selected
4. Click Save
Result
====================
The browser asks for permission to send push notifications
Expected
====================
When no option is selected I expect the browser not to ask for permission.
Comments
Comment #2
efpapado commentedI think that this patch fixes it.
Comment #3
svenryen commentedI tested this patch on a site and after I select no options I'm no longer asked for permissions. If I select one or more options, I get the permission dialog in the browser. Good to go!
Comment #5
efpapado commentedCommitted.
And I think it's time for a new release, we had quite a few fixes.