diff options
| author | bobzel <zzzman@gmail.com> | 2021-04-11 12:18:18 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-04-11 12:18:18 -0400 |
| commit | 6accc320ae70c6607e67a1befe37f5712b092c02 (patch) | |
| tree | 62368d2f8699aa03d23b16c99ae38ef54f735148 /src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | |
| parent | 79171e0275b45393cc56f54955c0056920ab2c40 (diff) | |
added childDocumentsActive prop to avoid hardwiring reference to "starburst" in freeformview.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 004d29127..7a879ecde 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1032,7 +1032,7 @@ export class CollectionFreeFormView extends CollectionSubView<PanZoomDocument, P docRangeFilters={this.freeformRangeDocFilters} searchFilterDocs={this.searchFilterDocs} isContentActive={this.isAnnotationOverlay ? this.props.isContentActive : returnFalse} - isDocumentActive={this.props.layoutEngine?.() === "starburst" ? this.props.isDocumentActive : this.isContentActive} + isDocumentActive={this.props.childDocumentsActive ? this.props.isDocumentActive : this.isContentActive} focus={this.focusDocument} addDocTab={this.addDocTab} addDocument={this.props.addDocument} |
