diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-23 14:40:57 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-23 14:40:57 -0400 |
commit | feb86078832da5f7207bc5775a61d7dd93681e98 (patch) | |
tree | eb5d6aeccf78d07678c260a3c3a84eb309cfd97b /src/client/views/MainView.tsx | |
parent | 05c46464ba69e889145d8a32320cd7f130665ee1 (diff) |
fixes for gettin new sidebar to work
Diffstat (limited to 'src/client/views/MainView.tsx')
-rw-r--r-- | src/client/views/MainView.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/client/views/MainView.tsx b/src/client/views/MainView.tsx index 8113ad698..d3bdeda9e 100644 --- a/src/client/views/MainView.tsx +++ b/src/client/views/MainView.tsx @@ -95,10 +95,6 @@ export class MainView extends React.Component { @observable public sidebarContent: any = this.userDoc?.["tabs-panelContainer"]; @observable public panelContent: string = "none"; @observable public showProperties: boolean = false; - - @computed get selectedDocumentView() { return SelectionManager.LastSelection(); } - @observable selectedDoc: Doc | undefined = this.selectedDocumentView?.props.Document; - @observable selectedDataDoc: Doc | undefined = this.selectedDocumentView?.props.DataDoc ? this.selectedDocumentView.props.DataDoc : this.selectedDoc; public isPointerDown = false; @observable _propertiesWidth: number = 0; @@ -359,7 +355,7 @@ export class MainView extends React.Component { docFilters={returnEmptyFilter} ContainingCollectionView={undefined} ContainingCollectionDoc={undefined} - renderDepth={1} + renderDepth={0} />; } @computed get dockingContent() { |