about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-05-27 19:32:25 +0200
committerThibG <thib@sitedethib.com>2018-05-29 21:25:28 +0200
commit6020a211304a3c33cc311083b15edc3f08a13edc (patch)
tree6df41a7c4538699f8609010b455088b66194b17f /app
parent5d16fd3f286810463d1f5f9da4a3301cf2bdf4b7 (diff)
[Glitch] Fix LoadMore on account media gallery
Port 3523aa440ba3f52bf28fe1e9707506d327c4431f to glitch-soc
Diffstat (limited to 'app')
-rw-r--r--app/javascript/flavours/glitch/features/account_gallery/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account_gallery/index.js b/app/javascript/flavours/glitch/features/account_gallery/index.js
index 8f770eb9a..ebd23a971 100644
--- a/app/javascript/flavours/glitch/features/account_gallery/index.js
+++ b/app/javascript/flavours/glitch/features/account_gallery/index.js
@@ -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']));
     }
   }