summaryrefslogtreecommitdiffstats
path: root/webapp/utils
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2016-11-01 08:34:52 -0400
committerChristopher Speller <crspeller@gmail.com>2016-11-01 08:34:52 -0400
commit6d3b3162b031594568b045943422fcac2b2471d1 (patch)
tree0db4704fdcb23969c2bd914cb4be0ca0bcdaa87d /webapp/utils
parent1d4f42acd99d707f114bd77c4085f4324b4a5ee2 (diff)
downloadchat-6d3b3162b031594568b045943422fcac2b2471d1.tar.gz
chat-6d3b3162b031594568b045943422fcac2b2471d1.tar.bz2
chat-6d3b3162b031594568b045943422fcac2b2471d1.zip
Fixes for creating teams (#4387)
Diffstat (limited to 'webapp/utils')
-rw-r--r--webapp/utils/async_client.jsx2
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;
}