From 6d3b3162b031594568b045943422fcac2b2471d1 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Tue, 1 Nov 2016 08:34:52 -0400 Subject: Fixes for creating teams (#4387) --- webapp/utils/async_client.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/utils') diff --git a/webapp/utils/async_client.jsx b/webapp/utils/async_client.jsx index 67100ea3f..c23270216 100644 --- a/webapp/utils/async_client.jsx +++ b/webapp/utils/async_client.jsx @@ -243,7 +243,7 @@ export function getMoreChannels(force) { } export function getChannelStats(channelId = ChannelStore.getCurrentId()) { - if (isCallInProgress('getChannelStats' + channelId)) { + if (isCallInProgress('getChannelStats' + channelId) || channelId == null) { return; } -- cgit v1.2.3-1-g7c22