diff options
author | Joram Wilander <jwawilander@gmail.com> | 2016-02-08 07:57:21 -0500 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-02-08 07:57:21 -0500 |
commit | 96cb7345dafbf07027acb9dc05fc7d0808a4ac38 (patch) | |
tree | 0df3f431dd2d2a0561dff3341f4cd8331a32108c /web/react/components/setting_item_max.jsx | |
parent | be70bbc2f027bcc32d54e03c6b66f7e3aadec425 (diff) | |
parent | 39b35b7b394cdc2391beaff8b96cd733400ebcb8 (diff) | |
download | chat-96cb7345dafbf07027acb9dc05fc7d0808a4ac38.tar.gz chat-96cb7345dafbf07027acb9dc05fc7d0808a4ac38.tar.bz2 chat-96cb7345dafbf07027acb9dc05fc7d0808a4ac38.zip |
Merge pull request #2089 from mattermost/plt-1205
PLT-1205 Remove appearance settings tab and move theme management to display s…
Diffstat (limited to 'web/react/components/setting_item_max.jsx')
-rw-r--r-- | web/react/components/setting_item_max.jsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/web/react/components/setting_item_max.jsx b/web/react/components/setting_item_max.jsx index 537055641..ac750614b 100644 --- a/web/react/components/setting_item_max.jsx +++ b/web/react/components/setting_item_max.jsx @@ -46,9 +46,14 @@ export default class SettingItemMax extends React.Component { widthClass = 'col-sm-9 col-sm-offset-3'; } + let title; + if (this.props.title) { + title = <li className='col-sm-12 section-title'>{this.props.title}</li>; + } + return ( <ul className='section-max form-horizontal'> - <li className='col-sm-12 section-title'>{this.props.title}</li> + {title} <li className={widthClass}> <ul className='setting-list'> <li className='setting-list-item'> |