Skip to content

Commit

Permalink
Fix: サークル・ブックマーク分類で過去投稿が遡れない問題 (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored Dec 6, 2024
1 parent 58ce827 commit b4972df
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/javascript/mastodon/actions/bookmark_categories.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ export const fetchBookmarkCategoryStatusesFail = (id, error) => ({

export function expandBookmarkCategoryStatuses(bookmarkCategoryId) {
return (dispatch, getState) => {
const url = getState().getIn(['bookmark_categories', bookmarkCategoryId, 'next'], null);
const url = getState().getIn(['status_lists', 'bookmark_category_statuses', bookmarkCategoryId, 'next'], null);

if (url === null || getState().getIn(['bookmark_categories', bookmarkCategoryId, 'isLoading'])) {
if (url === null || getState().getIn(['status_lists', 'bookmark_category_statuses', bookmarkCategoryId, 'isLoading'])) {
return;
}

Expand Down
4 changes: 2 additions & 2 deletions app/javascript/mastodon/actions/circles.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ export function fetchCircleStatusesFail(id, error) {

export function expandCircleStatuses(circleId) {
return (dispatch, getState) => {
const url = getState().getIn(['circles', circleId, 'next'], null);
const url = getState().getIn(['status_lists', 'circle_statuses', circleId, 'next'], null);

if (url === null || getState().getIn(['circles', circleId, 'isLoading'])) {
if (url === null || getState().getIn(['status_lists', 'circle_statuses', circleId, 'isLoading'])) {
return;
}

Expand Down

0 comments on commit b4972df

Please sign in to comment.