From 0f786a42d3289df9b4f5bdb4bddb0ecb07631608 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Mon, 31 Jul 2017 11:52:02 -0400 Subject: Select page correctly in more channels modal (#7035) --- webapp/components/more_channels/more_channels.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp') 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) { -- cgit v1.2.3-1-g7c22