diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-22 09:49:56 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-22 09:49:56 -0400 |
| commit | 4ed30f48bd0c87f0a5ccb484d78bf4601ab6ff74 (patch) | |
| tree | 15930585ee9bdf3b6278206cd1a3f972fa01c5f3 /src/client/views/collections/CollectionTreeView.tsx | |
| parent | cbedd8e1e651843e50f8f27163bf8e2a1a574009 (diff) | |
switched search from writiing searchMatch to matched docs to instead store in a run-time observableMap. This allows simultaneous searches by different users.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 4503b0fb3..8440d3e9b 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -472,7 +472,7 @@ class TreeView extends React.Component<TreeViewProps> { return <> <div className="docContainer" ref={this._tref} title="click to edit title" id={`docContainer-${this.props.parentKey}`} style={{ - fontWeight: this.doc.searchMatch !== undefined ? "bold" : undefined, + fontWeight: Doc.IsSearchMatch(this.doc) !== undefined ? "bold" : undefined, textDecoration: Doc.GetT(this.doc, "title", "string", true) ? "underline" : undefined, outline: BoolCast(this.doc.dashboardBrush) ? "dashed 1px #06123232" : undefined, pointerEvents: this.props.active() || SnappingManager.GetIsDragging() ? undefined : "none" |
