diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-19 00:19:41 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-19 00:19:41 -0400 |
| commit | a56af1c509199ca26a227132dd130139dc32988d (patch) | |
| tree | 0db0d110f449898283cb26eaaea5a1fe1ea144e1 /src/client/util/HypothesisUtils.ts | |
| parent | c5e7890b5055521bf030eff8db99ff189b3f9eb2 (diff) | |
| parent | 677d73e55fc934fac0fd1170a399359e131fef2f (diff) | |
Merge branch 'master' into schema_search
Diffstat (limited to 'src/client/util/HypothesisUtils.ts')
| -rw-r--r-- | src/client/util/HypothesisUtils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/HypothesisUtils.ts b/src/client/util/HypothesisUtils.ts index 9ede94e4b..04e937878 100644 --- a/src/client/util/HypothesisUtils.ts +++ b/src/client/util/HypothesisUtils.ts @@ -34,7 +34,7 @@ export namespace Hypothesis { const results: Doc[] = []; await SearchUtil.Search("web", true).then(action(async (res: SearchUtil.DocSearchResult) => { - const docs = await Promise.all(res.docs.map(async doc => (await Cast(doc.extendsDoc, Doc)) || doc)); + const docs = res.docs; const filteredDocs = docs.filter(doc => doc.author === Doc.CurrentUserEmail && doc.type === DocumentType.WEB && doc.data ); |
