diff options
| author | bobzel <zzzman@gmail.com> | 2022-09-21 16:39:53 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-09-21 16:39:53 -0400 |
| commit | 52000387f2d4a56c1f6028cdda1cd140c3bfe4c6 (patch) | |
| tree | 68f2624e8279bb782d11ab050dbab3ba09da724f /src/client/views/collections | |
| parent | 70e8c9d9bb215105c82c56d1fa9fc12a3ec3497e (diff) | |
| parent | 6f135d3bd98e31489e6ca5738e3546c31959aeb6 (diff) | |
Merge branch 'master' of https://github.com/brown-dash/Dash-Web
Diffstat (limited to 'src/client/views/collections')
| -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 98121f423..2d8055ba9 100644 --- a/src/client/views/collections/TabDocView.tsx +++ b/src/client/views/collections/TabDocView.tsx @@ -280,7 +280,7 @@ export class TabDocView extends React.Component<TabDocViewProps> { ) { const docs = Cast(Doc.MyOverlayDocs.data, listSpec(Doc), []); if (docs.includes(curPres)) docs.splice(docs.indexOf(curPres), 1); - CollectionDockingView.AddSplit(curPres, 'left'); + CollectionDockingView.AddSplit(curPres, 'right'); setTimeout(() => DocumentManager.Instance.jumpToDocument(docList.lastElement(), false, undefined, []), 100); // keeps the pinned doc in view since the sidebar shifts things } setTimeout(batch.end, 500); // need to wait until dockingview (goldenlayout) updates all its structurs |
