diff options
| author | bobzel <zzzman@gmail.com> | 2021-04-06 14:28:56 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-04-06 14:28:56 -0400 |
| commit | 46193ae586c28d5309cb0d6fa724846bb8520f20 (patch) | |
| tree | 5ccb8d1c3fe57981b4be97c85ab475e258e51018 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 998e9b239d1d97d5f4a44e8b7fb29c97e02002c4 (diff) | |
| parent | 30888cd69690448e0ccf1a7a5b3fe544dea7c218 (diff) | |
Merge branch 'filters' of https://github.com/browngraphicslab/Dash-Web into filters
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 542cbfe75..bc5a6129c 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -82,7 +82,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?: return Cast(this.dataField, listSpec(Doc)); } docFilters = () => { - return [...this.props.docFilters(), ...Cast(this.props.Document?._docFilters, listSpec("string"), [])]; + return [...this.props.docFilters(), ...Cast(this.props.Document._docFilters, listSpec("string"), [])]; } docRangeFilters = () => { return [...this.props.docRangeFilters(), ...Cast(this.props.Document._docRangeFilters, listSpec("string"), [])]; |
