Fix an issue where the indicator appears after canceling server updates

This commit is contained in:
Yuya Ochiai 2017-02-16 21:05:28 +09:00
parent a9e860a98e
commit 949db4ffae

View file

@ -173,13 +173,11 @@ const SettingsPage = React.createClass({
this.setState({ this.setState({
showAddTeamForm: !this.state.showAddTeamForm showAddTeamForm: !this.state.showAddTeamForm
}); });
setImmediate(this.saveConfig);
}, },
setShowTeamFormVisibility(val) { setShowTeamFormVisibility(val) {
this.setState({ this.setState({
showAddTeamForm: val showAddTeamForm: val
}); });
setImmediate(this.saveConfig);
}, },
handleFlashWindow() { handleFlashWindow() {
this.setState({ this.setState({