From 9fa3c996d522589139f56964087022bd0942e5e4 Mon Sep 17 00:00:00 2001
From: Stas Vovk <stas@vovk.me>
Date: Sun, 18 Oct 2015 18:55:04 +0300
Subject: change url when a user navigates between tabs [#962]

---
 web/react/pages/admin_console.jsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'web/react/pages/admin_console.jsx')

diff --git a/web/react/pages/admin_console.jsx b/web/react/pages/admin_console.jsx
index c89cb4edc..ea9ae06f4 100644
--- a/web/react/pages/admin_console.jsx
+++ b/web/react/pages/admin_console.jsx
@@ -5,9 +5,12 @@ 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() {
+export function setupAdminConsolePage(props) {
     ReactDOM.render(
-        <AdminController />,
+        <AdminController
+            tab={props.ActiveTab}
+            teamId={props.TeamId}
+        />,
         document.getElementById('admin_controller')
     );
 
-- 
cgit v1.2.3-1-g7c22

