summaryrefslogtreecommitdiffstats
path: root/web/react/pages/channel.jsx
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-08-13 13:01:21 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-08-13 13:01:21 -0400
commitca919538cc402ed90ce42ffc3ef98994bb1081f4 (patch)
tree4ebc16d9c3092fbcf25dba68153868f8d277b0e0 /web/react/pages/channel.jsx
parentd35065d6fd8237468ee3aa63bfba3b2aa29bc4af (diff)
downloadchat-ca919538cc402ed90ce42ffc3ef98994bb1081f4.tar.gz
chat-ca919538cc402ed90ce42ffc3ef98994bb1081f4.tar.bz2
chat-ca919538cc402ed90ce42ffc3ef98994bb1081f4.zip
Added ConfigStore that is populated from the server
Diffstat (limited to 'web/react/pages/channel.jsx')
-rw-r--r--web/react/pages/channel.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/pages/channel.jsx b/web/react/pages/channel.jsx
index 732835dc7..929499715 100644
--- a/web/react/pages/channel.jsx
+++ b/web/react/pages/channel.jsx
@@ -1,7 +1,6 @@
// Copyright (c) 2015 Spinpunch, Inc. All Rights Reserved.
// See License.txt for license information.
-
var AppDispatcher = require('../dispatcher/app_dispatcher.jsx');
var Navbar = require('../components/navbar.jsx');
var Sidebar = require('../components/sidebar.jsx');
@@ -36,11 +35,13 @@ var AccessHistoryModal = require('../components/access_history_modal.jsx');
var ActivityLogModal = require('../components/activity_log_modal.jsx');
var RemovedFromChannelModal = require('../components/removed_from_channel_modal.jsx')
+var AsyncClient = require('../utils/async_client.jsx');
var Constants = require('../utils/constants.jsx');
var ActionTypes = Constants.ActionTypes;
global.window.setup_channel_page = function(team_name, team_type, team_id, channel_name, channel_id) {
+ AsyncClient.getConfig();
AppDispatcher.handleViewAction({
type: ActionTypes.CLICK_CHANNEL,