diff options
| author | bob <bcz@cs.brown.edu> | 2019-07-25 15:00:16 -0400 |
|---|---|---|
| committer | bob <bcz@cs.brown.edu> | 2019-07-25 15:00:16 -0400 |
| commit | eceff76609deaa3e7a60c686b62cb4fd15e9699b (patch) | |
| tree | a3dde33bc42c233e4e4d915bbb30969c9c93bd94 /src/client/views/search | |
| parent | 216ea7dc77b1ac5529b02204e96f1d2c697afbec (diff) | |
several fixes and added basic fields to treeview display
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchItem.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx index a995140e2..5c2ced2eb 100644 --- a/src/client/views/search/SearchItem.tsx +++ b/src/client/views/search/SearchItem.tsx @@ -205,13 +205,13 @@ export class SearchItem extends React.Component<SearchItemProps> { let doc1 = Cast(this.props.doc.anchor1, Doc, null); let doc2 = Cast(this.props.doc.anchor2, Doc, null); - doc1 && (doc1.libraryBrush = undefined); - doc2 && (doc2.libraryBrush = undefined); + doc1 && (doc1.libraryBrush = false); + doc2 && (doc2.libraryBrush = false); } } else { let docViews: DocumentView[] = DocumentManager.Instance.getAllDocumentViews(this.props.doc); docViews.forEach(element => { - element.props.Document.libraryBrush = undefined; + element.props.Document.libraryBrush = false; }); } } |
