aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/HypothesisUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-17 12:06:25 -0400
committerbobzel <zzzman@gmail.com>2020-08-17 12:06:25 -0400
commit2c1e3a0c657914c7426ac7347bdb2781e1fa49bd (patch)
treefb68e95fc8c81b3e2640159480f38a612f45ebe4 /src/client/util/HypothesisUtils.ts
parentb6e5355bbbcb918bbac78281a0cc92340d1c1dd8 (diff)
parent227888ecdd9e83b9a2d99cb93890ae018274ea4d (diff)
Merge branch 'master' into acls_uv
Diffstat (limited to 'src/client/util/HypothesisUtils.ts')
-rw-r--r--src/client/util/HypothesisUtils.ts2
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
);