ソースを参照

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

master
Eugen Rochko 6年前
committed by GitHub
コミット
4f7f6b3922
この署名に対応する既知のキーがデータベースに存在しません GPGキー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));
}
};


読み込み中…
キャンセル
保存