Fix notification filter selection after settings change (#39872)

This commit is contained in:
Sharlayan authored and GitHub committed 2026-07-20 15:54:53 +00:00
1 parent 01a6b3aece
commit 87d99b17cc
1 file changed
+1 -1
@@ -44,7 +44,7 @@ const mapDispatchToProps = (dispatch) => ({
}
} else if (path[0] === 'quickFilter') {
dispatch(changeSetting(['notifications', ...path], checked));
dispatch(setNotificationsFilter('all'));
dispatch(setNotificationsFilter({ filterType: 'all' }));
} else if (path[0] === 'alerts' && checked && typeof window.Notification !== 'undefined' && Notification.permission !== 'granted') {
if (checked && typeof window.Notification !== 'undefined' && Notification.permission !== 'granted') {
dispatch(requestBrowserPermission((permission) => {