diff options
author | Jenny Yu <jennyyu212@outlook.com> | 2022-09-13 22:47:11 -0400 |
---|---|---|
committer | Jenny Yu <jennyyu212@outlook.com> | 2022-09-13 22:47:11 -0400 |
commit | 9e24fb58f5cb7fca663c30e32b59dc70b80fa739 (patch) | |
tree | d155050be00bd9aebc6a3b25440ba9666e84e0cd /src/client/views/collections/CollectionDockingView.tsx | |
parent | e5a8cbbdf084f09863005af0edbf135a0ffa71ab (diff) | |
parent | 8ded118135a5e296a83a85cf3f2180be56c6a045 (diff) |
Merge branch 'sharing-jenny' of https://github.com/brown-dash/Dash-Web into sharing-jenny
Diffstat (limited to 'src/client/views/collections/CollectionDockingView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionDockingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionDockingView.tsx b/src/client/views/collections/CollectionDockingView.tsx index 6d70cc0d2..10b54edad 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -455,7 +455,7 @@ export class CollectionDockingView extends CollectionSubView() { }; tabDestroyed = (tab: any) => { - if (tab.DashDoc?.type !== DocumentType.KVP) { + if (![DocumentType.KVP, DocumentType.PRES].includes(tab.DashDoc?.type)) { Doc.AddDocToList(Doc.MyHeaderBar, 'data', tab.DashDoc); Doc.AddDocToList(Doc.MyRecentlyClosed, 'data', tab.DashDoc, undefined, true, true); } |