瀏覽代碼

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

master
Eugen Rochko 6 年之前
committed by GitHub
父節點
當前提交
4f7f6b3922
沒有發現已知的金鑰在資料庫的簽署中 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…
取消
儲存