diff options
| author | ab <abdullah_ahmed@brown.edu> | 2019-07-02 14:32:10 -0400 |
|---|---|---|
| committer | ab <abdullah_ahmed@brown.edu> | 2019-07-02 14:32:10 -0400 |
| commit | bd03aebc435d07983d7100787b41028a3673fd98 (patch) | |
| tree | 552b01e1abfc637edfb07e21525f9b18d5c41800 /src/client/views/search/SearchBox.tsx | |
| parent | c2e03a9dfe8910a15ab1b8d3d2af77a5bb82a12d (diff) | |
idk
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 2 |
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> |
