diff options
| author | bobzel <zzzman@gmail.com> | 2021-08-06 10:34:57 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-08-06 10:34:57 -0400 |
| commit | d756ffd3daa24270361648454062e98f190ae964 (patch) | |
| tree | 483340406733fd34ff0a92115e7936ef28e2366c /src/client/views/collections/CollectionSubView.tsx | |
| parent | b25921a0cbdb431726e7089fabdd08fe43c6b3de (diff) | |
fixed webboxes so that you can link to an annotation and it will restore the url as well. a bunch of warnings cleanup.
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 a9b5ce465..227635c9b 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -93,7 +93,7 @@ export function CollectionSubView<T, X>(schemaCtor: (doc: Doc) => T, moreProps?: childDocFilters = () => [...this.props.docFilters(), ...this.collectionFilters()]; childDocRangeFilters = () => [...(this.props.docRangeFilters?.() || []), ...this.collectionRangeDocFilters()]; IsFiltered = () => this.collectionFilters().length || this.collectionRangeDocFilters().length ? "hasFilter" : - this.props.docFilters().length || this.props.docRangeFilters().length ? "inheritsFilter" : undefined; + this.props.docFilters().length || this.props.docRangeFilters().length ? "inheritsFilter" : undefined searchFilterDocs = () => this.props.searchFilterDocs?.() ?? DocListCast(this.props.Document._searchFilterDocs); @computed.struct get childDocs() { TraceMobx(); |
