diff options
Diffstat (limited to 'web/react/pages/admin_console.jsx')
-rw-r--r-- | web/react/pages/admin_console.jsx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/web/react/pages/admin_console.jsx b/web/react/pages/admin_console.jsx index 7e7dcfae8..ea9ae06f4 100644 --- a/web/react/pages/admin_console.jsx +++ b/web/react/pages/admin_console.jsx @@ -5,18 +5,21 @@ var ErrorBar = require('../components/error_bar.jsx'); var SelectTeamModal = require('../components/admin_console/select_team_modal.jsx'); var AdminController = require('../components/admin_console/admin_controller.jsx'); -export function setupAdminConsolePage() { - React.render( - <AdminController />, +export function setupAdminConsolePage(props) { + ReactDOM.render( + <AdminController + tab={props.ActiveTab} + teamId={props.TeamId} + />, document.getElementById('admin_controller') ); - React.render( + ReactDOM.render( <SelectTeamModal />, document.getElementById('select_team_modal') ); - React.render( + ReactDOM.render( <ErrorBar/>, document.getElementById('error_bar') ); |