diff options
-rw-r--r-- | src/client/views/search/SearchBox.tsx | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 82eedd152..d424527b4 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -187,15 +187,12 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc this._results = [] this._selectedResult = undefined - console.log("123"); if (CollectionDockingView.Instance !== undefined) { - console.log("456"); const docs = DocListCast(collection.dataDoc[Doc.LayoutFieldKey(collection.dataDoc)]); const docIDs: String[] = [] console.log(docs.length) SearchBox.foreachRecursiveDoc(docs, (depth: number, doc: Doc) => { const dtype = StrCast(doc.type, "string") as DocumentType; - console.log("HELLO"); if (dtype && !blockedTypes.includes(dtype) && !docIDs.includes(doc[Id]) && depth > 0) { const hlights = new Set<string>(); SearchBox.documentKeys(doc).forEach(key => Field.toString(doc[key] as Field).toLowerCase().includes(query) && hlights.add(key)); |