aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authorab <abdullah_ahmed@brown.edu>2019-07-02 14:32:10 -0400
committerab <abdullah_ahmed@brown.edu>2019-07-02 14:32:10 -0400
commitbd03aebc435d07983d7100787b41028a3673fd98 (patch)
tree552b01e1abfc637edfb07e21525f9b18d5c41800 /src/client/views/search/SearchBox.tsx
parentc2e03a9dfe8910a15ab1b8d3d2af77a5bb82a12d (diff)
idk
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx
index dc21e4a3c..2582c0d94 100644
--- a/src/client/views/search/SearchBox.tsx
+++ b/src/client/views/search/SearchBox.tsx
@@ -192,7 +192,7 @@ export class SearchBox extends React.Component {
</div>
<div className="searchBox-results" style={this._resultsOpen ? { display: "flex" } : { display: "none" }}>
{(this._results.length !== 0) ? (
- this._results.map(result => <SearchItem doc={result} key={result[Id]} />)
+ this._results.map(result => <SearchItem doc={result} query={this._searchString} key={result[Id]} />)
) :
this._openNoResults ? (<div className="no-result">No Search Results</div>) : null}
</div>