aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search
diff options
context:
space:
mode:
authorSam Wilkins <samwilkins333@gmail.com>2019-07-11 02:26:24 -0400
committerSam Wilkins <samwilkins333@gmail.com>2019-07-11 02:26:24 -0400
commita1c6b6df4eb6a30bca9603dac449dc937fb479fc (patch)
tree3d0dd2d041f333fc8ddf594c0c4415df7b6d8e56 /src/client/views/search
parent4b3c7ea33d564711566232acf2e8450aee1219fc (diff)
parentb1b69f8a4f9e34f0c8e667ec95f9fe16ebc8b2e4 (diff)
merged with master and fixed linter / errors
Diffstat (limited to 'src/client/views/search')
-rw-r--r--src/client/views/search/SearchItem.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/search/SearchItem.tsx b/src/client/views/search/SearchItem.tsx
index 804ffa7f5..87cae5487 100644
--- a/src/client/views/search/SearchItem.tsx
+++ b/src/client/views/search/SearchItem.tsx
@@ -206,13 +206,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 = false);
- doc2 && (doc2.libraryBrush = false);
+ doc1 && (doc1.libraryBrush = undefined);
+ doc2 && (doc2.libraryBrush = undefined);
}
} else {
let docViews: DocumentView[] = DocumentManager.Instance.getAllDocumentViews(this.props.doc);
docViews.forEach(element => {
- element.props.Document.libraryBrush = false;
+ element.props.Document.libraryBrush = undefined;
});
}
}