diff options
| author | bobzel <zzzman@gmail.com> | 2020-08-17 09:43:13 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-08-17 09:43:13 -0400 |
| commit | d7b5f5f6199b36af556e68370b5b7c462db7869f (patch) | |
| tree | 0ddec02f3c041f379de3703218f0c9c096ee07f9 /src/client/util/HypothesisUtils.ts | |
| parent | 7044fda26b17c0dac007952fb146bc8307339dce (diff) | |
fixed behavior of schemaHeader menu (except when pan or zoom occurs). Changed search to show aliases by default.
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 ); |
