summaryrefslogtreecommitdiffstats
path: root/web/react/stores/channel_store.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-07-09 16:25:57 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-07-09 16:25:57 -0700
commit95a1540dffe1c279b109e73b47f016e6b8d4a663 (patch)
tree6059204128c22778a4b620ab468ce478e3964e9c /web/react/stores/channel_store.jsx
parentceb243fbb289fd9faec7854beef643d83e99b105 (diff)
downloadchat-95a1540dffe1c279b109e73b47f016e6b8d4a663.tar.gz
chat-95a1540dffe1c279b109e73b47f016e6b8d4a663.tar.bz2
chat-95a1540dffe1c279b109e73b47f016e6b8d4a663.zip
Leave result of _getMoreChannels unitialized if it does not yet exist in browser storage to know when list of more channels is loading vs when its empty
Diffstat (limited to 'web/react/stores/channel_store.jsx')
-rw-r--r--web/react/stores/channel_store.jsx4
1 files changed, 0 insertions, 4 deletions
diff --git a/web/react/stores/channel_store.jsx b/web/react/stores/channel_store.jsx
index 340ce9922..f6b8fecd4 100644
--- a/web/react/stores/channel_store.jsx
+++ b/web/react/stores/channel_store.jsx
@@ -209,10 +209,6 @@ var ChannelStore = assign({}, EventEmitter.prototype, {
catch (err) {
}
- if (channels == null) {
- channels = [];
- }
-
return channels;
},
_storeExtraInfos: function(extraInfos) {