diff options
| author | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-02 20:48:17 -0700 |
|---|---|---|
| committer | Lionel Han <47760119+IGoByJoe@users.noreply.github.com> | 2020-09-02 20:48:17 -0700 |
| commit | 0cbf69270e2aa999b81c90f27429756d9fbd5ca2 (patch) | |
| tree | 06fb7a175aa1d9e73271c717639e08cc561d6b08 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 2b3e0ca4f889054020fd9b3c4a1e2db8d57581c1 (diff) | |
| parent | aa74a1e78dbd874942def0b763917198df51e01b (diff) | |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into bug_fixes
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index a3d58f31d..c891d2035 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -140,6 +140,7 @@ export class CollectionDockingView extends CollectionSubView(doc => doc) { // @undoBatch public static AddSplit(document: Doc, pullSide: string, stack?: any, panelName?: string) { + if (document._viewType === CollectionViewType.Docking) return CurrentUserUtils.openDashboard(Doc.UserDoc(), document); const instance = CollectionDockingView.Instance; if (!instance) return false; const docContentConfig = CollectionDockingView.makeDocumentConfig(document, panelName); |
