Skip to content
Snippets Groups Projects
Unverified Commit 3a44827d authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix web UI not removing notifications after block (#10108)

Regression from #7311
parent 1dbf993b
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ export default function notifications(state = initialState, action) {
case NOTIFICATIONS_EXPAND_SUCCESS:
return expandNormalizedNotifications(state, action.notifications, action.next);
case ACCOUNT_BLOCK_SUCCESS:
return filterNotifications(state, action.relationship);
case ACCOUNT_MUTE_SUCCESS:
return action.relationship.muting_notifications ? filterNotifications(state, action.relationship) : state;
case NOTIFICATIONS_CLEAR:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment