diff options
author | dg314 <david_grossman@brown.edu> | 2021-08-16 16:55:12 -0400 |
---|---|---|
committer | dg314 <david_grossman@brown.edu> | 2021-08-16 16:55:12 -0400 |
commit | 9a11484bb0337b2b2c561190e4c9769a44471983 (patch) | |
tree | 9538c86642a542b78218a087330c9d80ad690f5a /src | |
parent | 44dc91e0157019a2ba216618b6d8761c73d21458 (diff) |
minor changes
Diffstat (limited to 'src')
-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 d424527b4..41bdd526e 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -187,7 +187,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc this._results = [] this._selectedResult = undefined - if (CollectionDockingView.Instance !== undefined) { + if (collection !== undefined) { const docs = DocListCast(collection.dataDoc[Doc.LayoutFieldKey(collection.dataDoc)]); const docIDs: String[] = [] console.log(docs.length) |