mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 12:52:52 +00:00
Fix LoadMore on account media gallery (#6933)
max_id in the fetch request should be a status id, but media attachment id was used.
This commit is contained in:
parent
f5ed5f3860
commit
3523aa440b
|
@ -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']));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue