aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-16 21:03:15 -0500
committerbobzel <zzzman@gmail.com>2023-11-16 21:03:15 -0500
commit2dca9078e46293c0fe5f580171c1550f182530cb (patch)
treeae48a149c55e90d5b5388fd9747fa7eb679caae8 /src/client/views/collections
parent5931380effc04d63bb05c47eb6bde7b20a1b214f (diff)
fixed autoresetview to trigger when document is closed. fixed keyvalueboxes of groups to be interactive. made portals a square aspect ratio.
Diffstat (limited to 'src/client/views/collections')
-rw-r--r--src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 26e682989..2801c1a4a 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1570,6 +1570,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
}
componentWillUnmount() {
+ this.rootDoc[this.autoResetFieldKey] && this.resetView()
Object.values(this._disposers).forEach(disposer => disposer?.());
}