Fix direct messages column not loading more items on scroll (#9102)

Fix #9097
This commit is contained in:
Eugen Rochko
2018-10-26 01:55:08 +02:00
committed by GitHub
parent a2e3401e48
commit 768b0f132d
2 changed files with 10 additions and 10 deletions

View File

@ -3,7 +3,7 @@ import ConversationsList from '../components/conversations_list';
import { expandConversations } from '../../../actions/conversations';
const mapStateToProps = state => ({
conversationIds: state.getIn(['conversations', 'items']).map(x => x.get('id')),
conversations: state.getIn(['conversations', 'items']),
isLoading: state.getIn(['conversations', 'isLoading'], true),
hasMore: state.getIn(['conversations', 'hasMore'], false),
});