diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 31a3902a7b..634abda34a 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -570,13 +570,16 @@ class Editor extends React.Component { globalSettingsChanged = (key, value) => { const appDefinition = { ...this.state.appDefinition }; - appDefinition.globalSettings[key] = value; this.setState( { appDefinition, }, () => { + this.props.ymap.set('appDef', { + newDefinition: appDefinition, + editingVersionId: this.state.editingVersion?.id, + }); this.autoSave(); } );