fix configurer WebUI update bug

This commit is contained in:
eternal-flame-AD 2019-02-05 01:33:30 +08:00 committed by Jannis Mattheis
parent 8b3faef422
commit 23442bfb68
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class ConfigurerPanel extends Component<IConfigurerPanelProps, {unsavedChanges:
onClick={() => { onClick={() => {
const newConfig = this.state.unsavedChanges; const newConfig = this.state.unsavedChanges;
this.props.save(newConfig!).then(() => { this.props.save(newConfig!).then(() => {
this.setState({unsavedChanges: ''}); this.setState({unsavedChanges: null});
}); });
}}> }}>
<Typography variant="button">Save</Typography> <Typography variant="button">Save</Typography>