Skip to content
Snippets Groups Projects
Commit 19559d01 authored by David Sehnal's avatar David Sehnal
Browse files

mol-state: call canAutoUpdate with correct parameters

parent 56cec343
No related branches found
No related tags found
No related merge requests found
......@@ -51,7 +51,7 @@ class UpdateTransformControl extends TransformControlBase<UpdateTransformControl
if (!cell || !cell.sourceRef || cell.status !== 'ok') return false;
const parentCell = state.cells.get(cell.sourceRef)!;
return autoUpdate({ a: cell.obj!, b: parentCell.obj!, oldParams: this.getInfo().initialValues, newParams }, this.plugin);
return autoUpdate({ a: parentCell.obj!, b: cell.obj!, oldParams: this.getInfo().initialValues, newParams }, this.plugin);
}
componentDidMount() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment