Fix LoadMore on account media gallery (#6933)

max_id in the fetch request should be a status id, but media attachment id was used.
lolsob-rspec
unarist 2018-03-27 23:53:52 +09:00 committed by Eugen Rochko
parent cfd1fe74c9
commit 2111defbbf
1 changed files with 1 additions and 1 deletions

View File

@ -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']));
}
}