diff options
| author | bobzel <zzzman@gmail.com> | 2021-08-24 14:52:35 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-08-24 14:52:35 -0400 |
| commit | 66dd6788fbf46cd827d80eb97810e4d2af24eb26 (patch) | |
| tree | fc385038506c58304b76c0b9fb46a506ab9e3f47 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 5867ca16f8a8beaf7daf754ee5c42a5cc249346f (diff) | |
suppressed filter icon for annotations that are filtered based on transparency. fixed drawing ink on webbox's.
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 c7629acbe..55b1e4031 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().filter(f => !f.includes("__value__")).length || this.props.docRangeFilters().length ? "inheritsFilter" : undefined searchFilterDocs = () => this.props.searchFilterDocs?.() ?? DocListCast(this.props.Document._searchFilterDocs); @computed.struct get childDocs() { TraceMobx(); |
