aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-09-13 13:13:22 -0400
committerbobzel <zzzman@gmail.com>2022-09-13 13:13:22 -0400
commitb11133b433ce68344ccb6d9281e39186b338348c (patch)
treeec0b8f2b738ae2f7d6ffdecaf9e371985296f30a
parent743f4ab3a65babedb30b8ae9575e9b3583e52b3d (diff)
parent75e2bfa33484b16ae4d69596cd5db44078ebfccb (diff)
Merge branch 'master' into sharing-jenny
-rw-r--r--src/client/views/collections/CollectionDockingView.tsx2
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);
}