diff options
| author | bobzel <zzzman@gmail.com> | 2023-06-19 20:30:12 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2023-06-19 20:30:12 -0400 |
| commit | 1bc15f9b408d35639cea37ea1c29e7cdbd326301 (patch) | |
| tree | bf16dacd6ee1d09cf98b48abc94f6555f37f3868 /src/client/views/collections/CollectionDockingView.tsx | |
| parent | c080f6aa2abd0539e61486032c3483a1108b9e14 (diff) | |
fixed not adding key value panes to header bar
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 1173f522e..a5d7e7864 100644 --- a/src/client/views/collections/CollectionDockingView.tsx +++ b/src/client/views/collections/CollectionDockingView.tsx @@ -471,7 +471,7 @@ export class CollectionDockingView extends CollectionSubView() { tabDestroyed = (tab: any) => { this._flush = this._flush ?? UndoManager.StartBatch('tab movement'); - if (tab.DashDoc && ![DocumentType.KVP, DocumentType.PRES].includes(tab.DashDoc?.type)) { + if (tab.DashDoc && ![DocumentType.PRES].includes(tab.DashDoc?.type) && !tab.contentItem.config.props.keyValue) { Doc.AddDocToList(Doc.MyHeaderBar, 'data', tab.DashDoc); Doc.AddDocToList(Doc.MyRecentlyClosed, 'data', tab.DashDoc, undefined, true, true); } |
