mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 00:48:25 +00:00
fix: save app on settings options change (#2051)
This commit is contained in:
parent
b85c4088f2
commit
5fda4a2891
1 changed files with 8 additions and 3 deletions
|
|
@ -559,9 +559,14 @@ class Editor extends React.Component {
|
|||
const appDefinition = { ...this.state.appDefinition };
|
||||
|
||||
appDefinition.globalSettings[key] = value;
|
||||
this.setState({
|
||||
appDefinition,
|
||||
});
|
||||
this.setState(
|
||||
{
|
||||
appDefinition,
|
||||
},
|
||||
() => {
|
||||
this.autoSave();
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
saveApp = (id, attributes, notify = false) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue