From f05a2c03d5dbf5b0b7d09148a37d2325012b309f Mon Sep 17 00:00:00 2001
From: =Corey Hulen <corey@hulen.com>
Date: Tue, 22 Sep 2015 00:00:19 -0700
Subject: Adding SQL settings to admin console

---
 web/react/components/admin_console/admin_controller.jsx | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'web/react/components/admin_console/admin_controller.jsx')

diff --git a/web/react/components/admin_console/admin_controller.jsx b/web/react/components/admin_console/admin_controller.jsx
index 0cd3500e5..491dbd754 100644
--- a/web/react/components/admin_console/admin_controller.jsx
+++ b/web/react/components/admin_console/admin_controller.jsx
@@ -12,6 +12,8 @@ var LogsTab = require('./logs.jsx');
 var ImageSettingsTab = require('./image_settings.jsx');
 var PrivacySettingsTab = require('./privacy_settings.jsx');
 var RateSettingsTab = require('./rate_settings.jsx');
+var GitLabSettingsTab = require('./gitlab_settings.jsx');
+var SqlSettingsTab = require('./sql_settings.jsx');
 
 export default class AdminController extends React.Component {
     constructor(props) {
@@ -22,7 +24,7 @@ export default class AdminController extends React.Component {
 
         this.state = {
             config: null,
-            selected: 'email_settings'
+            selected: 'sql_settings'
         };
     }
 
@@ -62,6 +64,10 @@ export default class AdminController extends React.Component {
                 tab = <PrivacySettingsTab config={this.state.config} />;
             } else if (this.state.selected === 'rate_settings') {
                 tab = <RateSettingsTab config={this.state.config} />;
+            } else if (this.state.selected === 'gitlab_settings') {
+                tab = <GitLabSettingsTab config={this.state.config} />;
+            } else if (this.state.selected === 'sql_settings') {
+                tab = <SqlSettingsTab config={this.state.config} />;
             }
         }
 
-- 
cgit v1.2.3-1-g7c22

