openwisp/openwisp-notifications

[bug] ReconnectingWebsocket on the allauth account pages

Opened this issue · 1 comments

We override the base_site.html template in openwisp-notifications to add the necessary JS logic for functioning of notification widget.

The openwisp_users.account template extends the base_site.html, due to this JS related to notification logic is also loaded on accounts pages. We shall improve the templating logic such that we only add logic for adding notification widgets on the admin pages.

A way to tell the notification widget to not load at all may solve it, we never know where we may need to run this.