Merge commit 'ea3d8a82c244cccb3c3a7673c206e3668fd3a8d3' into glitch-soc/merge-upstream
This commit is contained in:
commit
dfd18b34f0
50 files changed
+491
-145
No files matched your search
@@ -58,7 +58,7 @@ const makeMapStateToProps = () => {
|
||||
*/
|
||||
const mapStateToProps = (state, { timelineId, initialLoadingState = true, maxItems }) => ({
|
||||
statusIds: getStatusIds(state, { type: timelineId, maxItems }),
|
||||
lastId: state.getIn(['timelines', timelineId, 'items'])?.last(),
|
||||
lastId: state.getIn(['timelines', timelineId, 'items'])?.findLast(id => !isNonStatusId(id)),
|
||||
isLoading: state.getIn(['timelines', timelineId, 'isLoading'], initialLoadingState),
|
||||
isPartial: state.getIn(['timelines', timelineId, 'isPartial'], false),
|
||||
hasMore: state.getIn(['timelines', timelineId, 'hasMore']),
|
||||
|
||||
Reference in new issue
Block a user