summaryrefslogtreecommitdiffstats
path: root/webapp/components/admin_console/dropdown_setting.jsx
diff options
context:
space:
mode:
authorAsaad Mahmood <asaadmahmoodspin@users.noreply.github.com>2016-05-09 20:57:51 +0500
committerCorey Hulen <corey@hulen.com>2016-05-09 08:57:51 -0700
commit12cc9def7beac97ab2b0beae946e19c5eb65e144 (patch)
tree5f4053e167dabb2e5086e4e342561f280d9b75a5 /webapp/components/admin_console/dropdown_setting.jsx
parent64b6d8cde5cff996d1c14eecb082e1fe4caced5d (diff)
downloadchat-12cc9def7beac97ab2b0beae946e19c5eb65e144.tar.gz
chat-12cc9def7beac97ab2b0beae946e19c5eb65e144.tar.bz2
chat-12cc9def7beac97ab2b0beae946e19c5eb65e144.zip
Improvements to system console and DM modal (#2930)
Fixing audit and compliance table Changing prop Minor improvement to the DM modal
Diffstat (limited to 'webapp/components/admin_console/dropdown_setting.jsx')
-rw-r--r--webapp/components/admin_console/dropdown_setting.jsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/webapp/components/admin_console/dropdown_setting.jsx b/webapp/components/admin_console/dropdown_setting.jsx
index d96c3cef8..fca8dd170 100644
--- a/webapp/components/admin_console/dropdown_setting.jsx
+++ b/webapp/components/admin_console/dropdown_setting.jsx
@@ -20,7 +20,10 @@ export default class DropdownSetting extends React.Component {
}
return (
- <Setting label={this.props.label}>
+ <Setting
+ label={this.props.label}
+ margin={this.props.margin}
+ >
<select
className='form-control'
value={this.props.currentValue}
@@ -43,5 +46,6 @@ DropdownSetting.propTypes = {
currentValue: React.PropTypes.string.isRequired,
handleChange: React.PropTypes.func.isRequired,
isDisabled: React.PropTypes.bool.isRequired,
- helpText: React.PropTypes.node.isRequired
+ helpText: React.PropTypes.node.isRequired,
+ margin: React.PropTypes.oneOf(['', 'small'])
};