summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-07-31 11:52:02 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-07-31 11:52:02 -0400
commit0f786a42d3289df9b4f5bdb4bddb0ecb07631608 (patch)
tree8cac13c2f77f4dbb2f6f85ef38ee8d25691b4801 /webapp
parentd01261a228fd6cda693623a85832bd567693512e (diff)
downloadchat-0f786a42d3289df9b4f5bdb4bddb0ecb07631608.tar.gz
chat-0f786a42d3289df9b4f5bdb4bddb0ecb07631608.tar.bz2
chat-0f786a42d3289df9b4f5bdb4bddb0ecb07631608.zip
Select page correctly in more channels modal (#7035)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/components/more_channels/more_channels.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/more_channels/more_channels.jsx b/webapp/components/more_channels/more_channels.jsx
index 3ba8f41c0..45833ead2 100644
--- a/webapp/components/more_channels/more_channels.jsx
+++ b/webapp/components/more_channels/more_channels.jsx
@@ -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) {