From b7f40e897805e84186bb35b84192d3d043a8ebd7 Mon Sep 17 00:00:00 2001 From: madelinegr Date: Tue, 18 Jun 2019 16:09:48 -0400 Subject: pretty sure things are working - committing before i start cleaning things up --- src/client/views/search/SearchBox.tsx | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src/client/views/search/SearchBox.tsx') diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 5d88615f6..0983cad3f 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -130,20 +130,6 @@ export class SearchBox extends React.Component { return this.filterDocs(docs); } - // @action filterDocs2(docs: Doc[]) { - // if (this._icons.length === 0) { - // return docs; - // } - // let finalDocs: Doc[] = []; - // docs.forEach(doc => { - // let layoutresult = Cast(doc.type, "string", ""); - // if (this._icons.includes(layoutresult)) { - // finalDocs.push(doc) - // } - // }); - // return finalDocs; - // } - //this.icons will now include all the icons that need to be included @action filterDocs(docs: Doc[]) { let finalDocs: Doc[] = []; -- cgit v1.2.3-70-g09d2