summaryrefslogtreecommitdiffstats
path: root/webapp/utils/async_client.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/utils/async_client.jsx')
-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;
}