REFACTOR: minor tweaks to user's notifications-filter (PR #9623)


‘ensure we only show filter if we have notifications’ @jjaffeux the issue here comes when there are no notifications, and filter doesn’t shows, then we can’t change the filter and notifications page becomes empty.

Like this: image

So, when filter is hidden we cannot change the filter and get the notifications which are available. And this causes issue.

Please have a look. Thanks

Hmm yess I see. I think the name “hasNotifications” is not good. Because this is not what it means, it actually means “hasNoFilteredNotifications”.

We have notifications, but not for this filter.

Brought this back in thanks