From 28381e1de6e19daefc96e3a7992c6ab1d7b256d1 Mon Sep 17 00:00:00 2001
From: Asaad Mahmood <Unknowngi@live.com>
Date: Thu, 27 Aug 2015 19:18:31 +0500
Subject: Enabled and added help text for settings items

---
 web/react/components/setting_item_max.jsx | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'web/react/components/setting_item_max.jsx')

diff --git a/web/react/components/setting_item_max.jsx b/web/react/components/setting_item_max.jsx
index 1599041b0..b978cdb0c 100644
--- a/web/react/components/setting_item_max.jsx
+++ b/web/react/components/setting_item_max.jsx
@@ -5,6 +5,7 @@ module.exports = React.createClass({
     render: function() {
         var clientError = this.props.client_error ? <div className='form-group'><label className='col-sm-12 has-error'>{ this.props.client_error }</label></div> : null;
         var server_error = this.props.server_error ? <div className='form-group'><label className='col-sm-12 has-error'>{ this.props.server_error }</label></div> : null;
+        var extraInfo = this.props.extraInfo ? this.props.extraInfo : null;
 
         var inputs = this.props.inputs;
 
@@ -15,6 +16,7 @@ module.exports = React.createClass({
                     <ul className="setting-list">
                         <li className="setting-list-item">
                             {inputs}
+                            {extraInfo}
                         </li>
                         <li className="setting-list-item">
                             <hr />
-- 
cgit v1.2.3-1-g7c22

