diff options
| author | bobzel <zzzman@gmail.com> | 2022-06-10 09:10:54 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-06-10 09:10:54 -0400 |
| commit | 1ab1ff51b5b5769079db1922d5013ec4680a1aa1 (patch) | |
| tree | e831fcd29f9be07d4c7c552425868d1c93ef0a09 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | 677741f2a5b844a95d92257f1c088607f2d51334 (diff) | |
fixed closing tabs to move to headerBar
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index a790a0475..e657bd502 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -412,6 +412,8 @@ export class CollectionDockingView extends CollectionSubView() { } tabDestroyed = (tab: any) => { + Doc.AddDocToList(CurrentUserUtils.MyHeaderBarDoc, "data", tab.DashDoc); + Doc.AddDocToList(CurrentUserUtils.MyRecentlyClosed, "data", tab.DashDoc, undefined, true, true); const dview = CollectionDockingView.Instance.props.Document; const fieldKey = CollectionDockingView.Instance.props.fieldKey; Doc.RemoveDocFromList(dview, fieldKey, tab.DashDoc); |
