diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-03-19 21:38:21 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-03-19 21:38:21 -0400 |
commit | 34f5992fa1d489b410f476cdb24cf28faed96632 (patch) | |
tree | 3cdc682805e219371adb05f28126cca8cde5c535 /src | |
parent | a75ce06979b17457e6ccbdda8fb2217815757036 (diff) |
from last
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionView.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
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<FieldViewProps> { } 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 = ( <div className="collectionTimeView-flyout" style={{ width: `${this._facetWidth}`, height: this.props.PanelHeight() - 30 }} onWheel={e => e.stopPropagation()}> {this._allFacets.map(facet => <label className="collectionTimeView-flyout-item" key={`${facet}`} onClick={e => this.facetClick(facet)}> |