0
0
Fork 0

Add ability to group follow notifications in WebUI (#32520)

This commit is contained in:
Renaud Chaput 2024-10-16 10:33:11 +02:00 committed by GitHub
parent acc1973f3a
commit 6c87c76e18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 48 additions and 17 deletions

View file

@ -56,11 +56,12 @@ const mapDispatchToProps = (dispatch) => ({
} else {
dispatch(changeSetting(['notifications', ...path], checked));
}
} else if(path[0] === 'groupingBeta') {
dispatch(changeSetting(['notifications', ...path], checked));
dispatch(initializeNotifications());
} else {
dispatch(changeSetting(['notifications', ...path], checked));
if(path[0] === 'group' && path[1] === 'follow') {
dispatch(initializeNotifications());
}
}
},