Fix: サークル・ブックマーク分類で過去投稿が遡れない問題 (#940)
This commit is contained in:
parent
4a0bd8a0fd
commit
6df5dfeebd
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue