Преглед изворни кода

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

master
Eugen Rochko пре 6 година
committed by GitHub
родитељ
комит
4f7f6b3922
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      app/javascript/mastodon/actions/notifications.js

+ 1
- 1
app/javascript/mastodon/actions/notifications.js Прегледај датотеку

@@ -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));
}
};


Loading…
Откажи
Сачувај