diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-07-31 11:52:02 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-07-31 11:52:02 -0400 |
commit | 0f786a42d3289df9b4f5bdb4bddb0ecb07631608 (patch) | |
tree | 8cac13c2f77f4dbb2f6f85ef38ee8d25691b4801 /webapp | |
parent | d01261a228fd6cda693623a85832bd567693512e (diff) | |
download | chat-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.jsx | 2 |
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) { |