diff options
| author | Anika Ahluwalia <anika.ahluwalia@gmail.com> | 2020-09-29 14:38:09 -0500 |
|---|---|---|
| committer | Anika Ahluwalia <anika.ahluwalia@gmail.com> | 2020-09-29 14:38:09 -0500 |
| commit | 5c872c454b04ebfb0b18f1eb173e058781d6dd15 (patch) | |
| tree | 8559da2281355c6743ed98648d19032f3c70a042 /src/client/views/collections/CollectionSubView.tsx | |
| parent | c26d63873e3dd4304088b84fa52bffcc78ca2896 (diff) | |
| parent | 1cb5ac5e07ad90589670a788e3144d9d9581a393 (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into anika_bug_fixes
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 26fe00657..649b8c175 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -142,6 +142,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?: const docsforFilter: Doc[] = []; childDocs.forEach((d) => { + if (DocUtils.Excluded(d, docFilters)) return; let notFiltered = d.z || ((!searchDocs.length || searchDocs.includes(d)) && ((!docFilters.length && !docRangeFilters.length) || DocUtils.FilterDocs([d], docFilters, docRangeFilters, viewSpecScript).length > 0)); const fieldKey = Doc.LayoutFieldKey(d); const annos = !Field.toString(Doc.LayoutField(d) as Field).includes("CollectionView"); |
