aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/TreeView.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-19 13:49:19 -0500
committerbobzel <zzzman@gmail.com>2023-11-19 13:49:19 -0500
commit3ebb44420ebe8621be355478cbd45656a5224303 (patch)
treeff95f2c59060122adfe79c40d5296aabde76bd5c /src/client/views/collections/TreeView.tsx
parent95ca3c2419a760970d56a4af656b28c4f3b6c073 (diff)
fixed animations of text html overlays and turned off overflow hidden so that rotation doesn't get clipped. cleaned up docView querying for Selection
Diffstat (limited to 'src/client/views/collections/TreeView.tsx')
-rw-r--r--src/client/views/collections/TreeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TreeView.tsx b/src/client/views/collections/TreeView.tsx
index dbce45fda..004857ed1 100644
--- a/src/client/views/collections/TreeView.tsx
+++ b/src/client/views/collections/TreeView.tsx
@@ -165,7 +165,7 @@ export class TreeView extends React.Component<TreeViewProps> {
return this.childDocList(this.fieldKey + '_annotations');
}
@computed get selected() {
- return SelectionManager.IsSelected(this._docRef);
+ return this._docRef?.SELECTED;
}
childDocList(field: string) {