aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.tsx
diff options
context:
space:
mode:
authormadelinegr <monika_hedman@brown.edu>2019-06-18 16:09:48 -0400
committermadelinegr <monika_hedman@brown.edu>2019-06-18 16:09:48 -0400
commitb7f40e897805e84186bb35b84192d3d043a8ebd7 (patch)
treea7a67b80e2247fda4ba9059e2c9c078c46c17839 /src/client/views/search/SearchBox.tsx
parent5469707d07254b5895c2188846c0e35b6d776ab0 (diff)
pretty sure things are working - committing before i start cleaning things up
Diffstat (limited to 'src/client/views/search/SearchBox.tsx')
-rw-r--r--src/client/views/search/SearchBox.tsx14
1 files changed, 0 insertions, 14 deletions
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[] = [];