aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionTreeView.tsx
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-04-20 01:39:15 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-04-20 01:39:15 -0400
commit821bd7bb1b2a59459c63ecfbe9c513e5f36a7e43 (patch)
tree8657858a64e49f1484e7f14d2694a0169371d23d /src/client/views/collections/CollectionTreeView.tsx
parent1dae87b867efdfad8c14ab7b5642f83ec3109766 (diff)
fixed runtime errors for AntimodeMenu and from current_user_utils not initializing properly
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
-rw-r--r--src/client/views/collections/CollectionTreeView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx
index 83e536167..011e07287 100644
--- a/src/client/views/collections/CollectionTreeView.tsx
+++ b/src/client/views/collections/CollectionTreeView.tsx
@@ -650,7 +650,7 @@ export type collectionTreeViewProps = {
};
@observer
-export class CollectionTreeView extends CollectionSubView(Document, undefined as any as collectionTreeViewProps) {
+export class CollectionTreeView extends CollectionSubView<Document, Partial<collectionTreeViewProps>>(Document) {
private treedropDisposer?: DragManager.DragDropDisposer;
private _mainEle?: HTMLDivElement;