From e0fca16b27b35d6d4303e5a76f10a689fdefcce3 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <asaadmahmoodspin@users.noreply.github.com>
Date: Fri, 3 Jun 2016 00:33:52 +0500
Subject: PLT-3010 - Updating system console (#3146)

* Updating system console

* Updating system console stuff

* Updating ldap settings
---
 webapp/root.jsx | 35 +++++++++++++++++++----------------
 1 file changed, 19 insertions(+), 16 deletions(-)

(limited to 'webapp/root.jsx')

diff --git a/webapp/root.jsx b/webapp/root.jsx
index dc2df64ac..d326f32fc 100644
--- a/webapp/root.jsx
+++ b/webapp/root.jsx
@@ -370,6 +370,10 @@ function renderRootComponent() {
                                 path='privacy'
                                 component={PrivacySettings}
                             />
+                            <Route
+                                path='compliance'
+                                component={ComplianceSettings}
+                            />
                             <Route
                                 path='logging'
                                 component={LogSettings}
@@ -435,10 +439,6 @@ function renderRootComponent() {
                                 component={ExternalServiceSettings}
                             />
                         </Route>
-                        <Route
-                            path='database'
-                            component={DatabaseSettings}
-                        />
                         <Route path='files'>
                             <IndexRedirect to='storage'/>
                             <Route
@@ -461,18 +461,21 @@ function renderRootComponent() {
                                 component={LegalAndSupportSettings}
                             />
                         </Route>
-                        <Route
-                            path='compliance'
-                            component={ComplianceSettings}
-                        />
-                        <Route
-                            path='rate'
-                            component={RateSettings}
-                        />
-                        <Route
-                            path='developer'
-                            component={DeveloperSettings}
-                        />
+                        <Route path='advanced'>
+                            <IndexRedirect to='rate'/>
+                            <Route
+                                path='rate'
+                                component={RateSettings}
+                            />
+                            <Route
+                                path='database'
+                                component={DatabaseSettings}
+                            />
+                            <Route
+                                path='developer'
+                                component={DeveloperSettings}
+                            />
+                        </Route>
                         <Route path='team'>
                             <Redirect
                                 from=':team'
-- 
cgit v1.2.3-1-g7c22

