aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonikahedman <monika_hedman@brown.edu>2019-07-12 17:03:59 -0400
committermonikahedman <monika_hedman@brown.edu>2019-07-12 17:03:59 -0400
commit8c82a0fb1310429a973b536d5e0c25c3749d7e14 (patch)
treeb614c9fee15d009465a0b0221906377bd11d5fde
parente289ffead09b091fdb40aab47ea4d04ae5935455 (diff)
send help
-rw-r--r--deploy/index.html1
-rw-r--r--src/client/views/search/FilterBox.tsx3
2 files changed, 3 insertions, 1 deletions
diff --git a/deploy/index.html b/deploy/index.html
index f4a019b71..532b995f8 100644
--- a/deploy/index.html
+++ b/deploy/index.html
@@ -6,7 +6,6 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<script src="https://cdnjs.cloudflare.com/ajax/libs/typescript/3.3.1/typescript.min.js"></script>
- <script src="https://rawgithub.com/juliangarnier/anime/master/anime.min.js"></script>
</head>
<body>
diff --git a/src/client/views/search/FilterBox.tsx b/src/client/views/search/FilterBox.tsx
index 4c74c0413..5aa3e9509 100644
--- a/src/client/views/search/FilterBox.tsx
+++ b/src/client/views/search/FilterBox.tsx
@@ -239,6 +239,9 @@ export class FilterBox extends React.Component {
@action
filterDocsByType(docs: Doc[]) {
+ if (this._icons.length === 9) {
+ return docs;
+ }
let finalDocs: Doc[] = [];
docs.forEach(doc => {
let layoutresult = Cast(doc.type, "string");