Skip to content
Snippets Groups Projects
Unverified Commit aab867b0 authored by ThibG's avatar ThibG Committed by GitHub
Browse files

Fix notification filter bar incorrectly filtering gaps (#14808)

parent 5d3c8baa
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ const getNotifications = createSelector([
// we need to turn it off for FilterBar in order not to block ourselves from seeing a specific category
return notifications.filterNot(item => item !== null && excludedTypes.includes(item.get('type')));
}
return notifications.filter(item => item !== null && allowedType === item.get('type'));
return notifications.filter(item => item === null || allowedType === item.get('type'));
});
const mapStateToProps = state => ({
......
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