fix configurer WebUI update bug
This commit is contained in:
parent
8b3faef422
commit
23442bfb68
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue