Skip to content
Snippets Groups Projects
Commit 3523aa44 authored by unarist's avatar unarist Committed by Eugen Rochko
Browse files

Fix LoadMore on account media gallery (#6933)

max_id in the fetch request should be a status id, but media attachment id was used.
parent f5ed5f38
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ export default class AccountGallery extends ImmutablePureComponent {
handleScrollToBottom = () => {
if (this.props.hasMore) {
this.handleLoadMore(this.props.medias.last().get('id'));
this.handleLoadMore(this.props.medias.last().getIn(['status', 'id']));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment