From 34f5992fa1d489b410f476cdb24cf28faed96632 Mon Sep 17 00:00:00 2001 From: Bob Zeleznik Date: Thu, 19 Mar 2020 21:38:21 -0400 Subject: from last --- src/client/views/collections/CollectionView.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionView.tsx b/src/client/views/collections/CollectionView.tsx index ab553b206..2036a0ba9 100644 --- a/src/client/views/collections/CollectionView.tsx +++ b/src/client/views/collections/CollectionView.tsx @@ -389,12 +389,11 @@ export class CollectionView extends Touchable { } filterBackground = () => "dimGray"; @computed get scriptField() { - const scriptText = "setDocFilter(containingTreeView.target, heading, this.title, checked)"; + const scriptText = "setDocFilter(containingTreeView, heading, this.title, checked)"; return ScriptField.MakeScript(scriptText, { this: Doc.name, heading: "string", checked: "string", containingTreeView: Doc.name }); } @computed get filterView() { const facetCollection = this.props.Document; - this._facetWidth && setTimeout(() => facetCollection.target = this.props.Document, 0); const flyout = (
e.stopPropagation()}> {this._allFacets.map(facet =>