aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/collectionSchema/SchemaCellField.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionSchema/SchemaCellField.tsx b/src/client/views/collections/collectionSchema/SchemaCellField.tsx
index 1dff76df2..9a3ffc7f2 100644
--- a/src/client/views/collections/collectionSchema/SchemaCellField.tsx
+++ b/src/client/views/collections/collectionSchema/SchemaCellField.tsx
@@ -96,7 +96,7 @@ export class SchemaCellField extends ObservableReactComponent<SchemaCellFieldPro
{ fireImmediately: true }
);
this._disposers.fieldUpdate = reaction(
- () => ({ fieldVal: this._props.GetValue(), editing: 0 }), // this._editing }),
+ () => ({ fieldVal: this._props.GetValue(), editing: this._editing }),
({ fieldVal, editing }) => {
this._unrenderedContent = fieldVal ?? '';
!this._editing && this.finalizeEdit(false, false, false);