aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionTreeView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-04-06 13:01:12 -0400
committerbobzel <zzzman@gmail.com>2021-04-06 13:01:12 -0400
commitd01fdacae8e96c99a095dd2c97f62144ab81def5 (patch)
treec77df3f02186b0b721909aa25791d444b78e6ccd /src/client/views/collections/CollectionTreeView.tsx
parentc1bf9a33e91630831bcb7d919d9ff90c8b1e5170 (diff)
fix to get text filtering to work.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
-rw-r--r--src/client/views/collections/CollectionTreeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx
index ca8777de8..a8a2aaa5a 100644
--- a/src/client/views/collections/CollectionTreeView.tsx
+++ b/src/client/views/collections/CollectionTreeView.tsx
@@ -67,7 +67,7 @@ export class CollectionTreeView extends CollectionSubView<Document, Partial<coll
Object.values(this._disposers).forEach(disposer => disposer?.());
}
- componentWillMount() {
+ componentDidMount() {
this._disposers.autoheight = reaction(() => this.rootDoc.autoHeight,
auto => auto && this.computeHeight(),
{ fireImmediately: true });