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

Fix follow relationships not loading after notifications fetch (#6746)

parent 8b14726f
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ defineMessages({
const fetchRelatedRelationships = (dispatch, notifications) => {
const accountIds = notifications.filter(item => item.type === 'follow').map(item => item.account.id);
if (accountIds > 0) {
if (accountIds.length > 0) {
dispatch(fetchRelationships(accountIds));
}
};
......
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