diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-11-01 08:34:52 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-11-01 08:34:52 -0400 |
commit | 6d3b3162b031594568b045943422fcac2b2471d1 (patch) | |
tree | 0db4704fdcb23969c2bd914cb4be0ca0bcdaa87d /webapp/utils/async_client.jsx | |
parent | 1d4f42acd99d707f114bd77c4085f4324b4a5ee2 (diff) | |
download | chat-6d3b3162b031594568b045943422fcac2b2471d1.tar.gz chat-6d3b3162b031594568b045943422fcac2b2471d1.tar.bz2 chat-6d3b3162b031594568b045943422fcac2b2471d1.zip |
Fixes for creating teams (#4387)
Diffstat (limited to 'webapp/utils/async_client.jsx')
-rw-r--r-- | webapp/utils/async_client.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |