diff options
author | JoramWilander <jwawilander@gmail.com> | 2015-07-15 17:50:07 -0400 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2015-07-22 08:43:21 -0400 |
commit | 712f9a0b8c13f2d97a26b9030f215161f9b09511 (patch) | |
tree | b52edc05c5f45227dc0d700c7ade53e51b24b039 /web/react/components/setting_item_max.jsx | |
parent | c39e95c7cb1ad6e812aa3ce4000b4dfdf214e77e (diff) | |
download | chat-712f9a0b8c13f2d97a26b9030f215161f9b09511.tar.gz chat-712f9a0b8c13f2d97a26b9030f215161f9b09511.tar.bz2 chat-712f9a0b8c13f2d97a26b9030f215161f9b09511.zip |
removed change password UI for oauth accounts
Diffstat (limited to 'web/react/components/setting_item_max.jsx')
-rw-r--r-- | web/react/components/setting_item_max.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/react/components/setting_item_max.jsx b/web/react/components/setting_item_max.jsx index b8b667e1a..49eb58773 100644 --- a/web/react/components/setting_item_max.jsx +++ b/web/react/components/setting_item_max.jsx @@ -20,7 +20,7 @@ module.exports = React.createClass({ <hr /> { server_error } { client_error } - <a className="btn btn-sm btn-primary" onClick={this.props.submit}>Submit</a> + { this.props.submit ? <a className="btn btn-sm btn-primary" onClick={this.props.submit}>Submit</a> : "" } <a className="btn btn-sm theme" href="#" onClick={this.props.updateSection}>Cancel</a> </li> </ul> |