diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-09 16:25:57 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-07-09 16:25:57 -0700 |
commit | 95a1540dffe1c279b109e73b47f016e6b8d4a663 (patch) | |
tree | 6059204128c22778a4b620ab468ce478e3964e9c /web/react/stores | |
parent | ceb243fbb289fd9faec7854beef643d83e99b105 (diff) | |
download | chat-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')
-rw-r--r-- | web/react/stores/channel_store.jsx | 4 |
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) { |