diff --git a/frontend/src/Editor/Editor.jsx b/frontend/src/Editor/Editor.jsx index 44edc5df16..838f70f468 100644 --- a/frontend/src/Editor/Editor.jsx +++ b/frontend/src/Editor/Editor.jsx @@ -433,8 +433,8 @@ class Editor extends React.Component { this.setState({ showQuerySearchField: !this.state.showQuerySearchField }); } - onVersionDeploy = (versionId) => { - this.setState({ app: { + onVersionDeploy = (versionId) => { + this.setState({ app: { ...this.state.app, current_version_id: versionId }}) @@ -535,7 +535,7 @@ class Editor extends React.Component {