diff options
author | bobzel <zzzman@gmail.com> | 2020-09-02 15:30:47 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-09-02 15:30:47 -0400 |
commit | a7975e6f18b0d837403ced65ee5979b60b43f5bc (patch) | |
tree | 6efda9b176fd8be7f9fbd16682e86fee015f65c3 | |
parent | 3f3ba063bb6e3bde20dafc8a9e6d7fe9254e22fe (diff) | |
parent | 7769eab7d388201d2cc2253b5d9911ce7e4cca6f (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
-rw-r--r-- | src/client/views/collections/TabDocView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/TabDocView.tsx b/src/client/views/collections/TabDocView.tsx index 5cdf337a9..fb4f5c366 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -334,7 +334,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { setView = action((view: DocumentView) => this._view = view); @computed get docView() { TraceMobx(); - return !this._document ? (null) : + return !this._document || this._document._viewType === CollectionViewType.Docking ? (null) : <><DocumentView key={this._document[Id]} LibraryPath={emptyPath} Document={this._document} |