diff options
author | Joram Wilander <jwawilander@gmail.com> | 2015-07-08 14:47:49 -0400 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2015-07-08 14:47:49 -0400 |
commit | 11dde6c44bbb39e88969eb1691cfcf9e21f5ad08 (patch) | |
tree | 89098ffe15c6998bc652623b07ff7861efb6a4a5 /web/react/components/channel_loader.jsx | |
parent | a65b2a2df52286ec4018b923971366f89b917307 (diff) | |
parent | ce5639a6290bcb2403376cabfffe784283ac5b5a (diff) | |
download | chat-11dde6c44bbb39e88969eb1691cfcf9e21f5ad08.tar.gz chat-11dde6c44bbb39e88969eb1691cfcf9e21f5ad08.tar.bz2 chat-11dde6c44bbb39e88969eb1691cfcf9e21f5ad08.zip |
Merge pull request #150 from mattermost/mm-895
MM-895 Reorganization of browser storage.
Diffstat (limited to 'web/react/components/channel_loader.jsx')
-rw-r--r-- | web/react/components/channel_loader.jsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/web/react/components/channel_loader.jsx b/web/react/components/channel_loader.jsx index 537a41d03..1b389aa1d 100644 --- a/web/react/components/channel_loader.jsx +++ b/web/react/components/channel_loader.jsx @@ -5,12 +5,16 @@ to the server on page load. This is to prevent other React controls from spamming AsyncClient with requests. */ +var BrowserStore = require('../stores/browser_store.jsx'); var AsyncClient = require('../utils/async_client.jsx'); var SocketStore = require('../stores/socket_store.jsx'); var Constants = require('../utils/constants.jsx'); module.exports = React.createClass({ componentDidMount: function() { + // Initalize stores + BrowserStore.initalize(); + /* Start initial aysnc loads */ AsyncClient.getMe(); AsyncClient.getPosts(true); |