diff options
author | Saturnino Abril <saturnino.abril@gmail.com> | 2017-06-24 07:12:34 +0800 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-06-23 19:12:34 -0400 |
commit | fe7e9d95b30ae2195fcba68db960866db91ce045 (patch) | |
tree | 65e6a8ca731477ca49889e6dea1c42eb59749b13 /webapp/components/user_settings/user_settings_theme.jsx | |
parent | 33eb77b757a2e5560145024ac8f491a15a8a4e8f (diff) | |
download | chat-fe7e9d95b30ae2195fcba68db960866db91ce045.tar.gz chat-fe7e9d95b30ae2195fcba68db960866db91ce045.tar.bz2 chat-fe7e9d95b30ae2195fcba68db960866db91ce045.zip |
fix JS error when saving a custom theme vector (#6734)
Diffstat (limited to 'webapp/components/user_settings/user_settings_theme.jsx')
-rw-r--r-- | webapp/components/user_settings/user_settings_theme.jsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/webapp/components/user_settings/user_settings_theme.jsx b/webapp/components/user_settings/user_settings_theme.jsx index 5730fe171..4f39cffa9 100644 --- a/webapp/components/user_settings/user_settings_theme.jsx +++ b/webapp/components/user_settings/user_settings_theme.jsx @@ -125,11 +125,6 @@ export default class ThemeSetting extends React.Component { this.originalTheme = Object.assign({}, this.state.theme); this.scrollToTop(); this.props.updateSection(''); - }, - (err) => { - var state = this.getStateFromStores(); - state.serverError = err; - this.setState(state); } ); } |