Select page correctly in more channels modal (#7035)

This commit is contained in:
Joram Wilander
2017-07-31 11:52:02 -04:00
committed by Harrison Healey
parent d01261a228
commit 0f786a42d3

View File

@@ -85,7 +85,7 @@ export default class MoreChannels extends React.Component {
}
nextPage(page) {
this.props.actions.getChannels(TeamStore.getCurrentId(), (page + 1) * CHANNELS_PER_PAGE, CHANNELS_PER_PAGE);
this.props.actions.getChannels(TeamStore.getCurrentId(), page + 1, CHANNELS_PER_PAGE);
}
handleJoin(channel, done) {