mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 17:08:34 +00:00
Fix for widget resize bugs
This commit is contained in:
parent
f3e08a2d0f
commit
8eb8630439
1 changed files with 2 additions and 2 deletions
|
|
@ -284,6 +284,7 @@ class Editor extends React.Component {
|
|||
|
||||
componentDefinitionChanged = (newDefinition) => {
|
||||
let _self = this;
|
||||
|
||||
return setStateAsync(_self, {
|
||||
appDefinition: {
|
||||
...this.state.appDefinition,
|
||||
|
|
@ -291,8 +292,7 @@ class Editor extends React.Component {
|
|||
...this.state.appDefinition.components,
|
||||
[newDefinition.id]: {
|
||||
...this.state.appDefinition.components[newDefinition.id],
|
||||
component: newDefinition.component,
|
||||
layouts: newDefinition.layouts,
|
||||
component: newDefinition.component
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue