diff options
author | bobzel <zzzman@gmail.com> | 2021-08-30 13:53:23 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-08-30 13:53:23 -0400 |
commit | 22333b0776dae22dec7f1d18ee59f6878fec9e0a (patch) | |
tree | f4df1d960b3d880300beb860e7a5295c44fc8438 /src | |
parent | 1c3b334de7c1a34075b71569e800b7ce7c5d41a5 (diff) |
fixed linear menu views to always have active content
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/collections/CollectionMenu.tsx | 2 | ||||
-rw-r--r-- | src/client/views/collections/collectionLinearView/CollectionLinearView.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/client/views/collections/CollectionMenu.tsx b/src/client/views/collections/CollectionMenu.tsx index cbfe47338..3d37a9df8 100644 --- a/src/client/views/collections/CollectionMenu.tsx +++ b/src/client/views/collections/CollectionMenu.tsx @@ -107,7 +107,7 @@ export class CollectionMenu extends AntimodeMenu<AntimodeMenuProps> { rootSelected={returnTrue} bringToFront={emptyFunction} select={emptyFunction} - isContentActive={returnFalse} + isContentActive={returnTrue} isAnyChildContentActive={returnFalse} isSelected={returnFalse} docViewPath={returnEmptyDoclist} diff --git a/src/client/views/collections/collectionLinearView/CollectionLinearView.tsx b/src/client/views/collections/collectionLinearView/CollectionLinearView.tsx index 74d581946..61fc366eb 100644 --- a/src/client/views/collections/collectionLinearView/CollectionLinearView.tsx +++ b/src/client/views/collections/collectionLinearView/CollectionLinearView.tsx @@ -162,7 +162,7 @@ export class CollectionLinearView extends CollectionSubView(LinearDocument) { <DocumentView Document={pair.layout} DataDoc={pair.data} - isContentActive={returnFalse} + isContentActive={this.props.isContentActive} isDocumentActive={returnTrue} addDocument={this.props.addDocument} moveDocument={this.props.moveDocument} |