Browse Source

Fix LoadMore on account media gallery (#6933)

max_id in the fetch request should be a status id, but media attachment id was used.
pull/4/head
unarist 6 years ago
committed by Eugen Rochko
parent
commit
3523aa440b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/features/account_gallery/index.js

+ 1
- 1
app/javascript/mastodon/features/account_gallery/index.js 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']));
}
}

Loading…
Cancel
Save