[Glitch] Fix LoadMore on account media gallery
Port 3523aa440b to glitch-soc
			
			
This commit is contained in:
		
							parent
							
								
									5d16fd3f28
								
							
						
					
					
						commit
						6020a21130
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -67,7 +67,7 @@ export default class AccountGallery extends ImmutablePureComponent {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  handleScrollToBottom = () => {
 | 
					  handleScrollToBottom = () => {
 | 
				
			||||||
    if (this.props.hasMore) {
 | 
					    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