diff options
author | bobzel <zzzman@gmail.com> | 2020-08-21 18:46:58 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2020-08-21 18:46:58 -0400 |
commit | ca9cf672bdfd8ebf11cb20264474bcb9d9729944 (patch) | |
tree | aa8028c21950f1ff30f4dca09264c908ee6d8bf8 /src/client/documents/Documents.ts | |
parent | 36630b9aa2e1c4710a69a4fdf4ec98c3f5bca92c (diff) |
switched from "scenes" to "dashboards"
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 7d114d417..697ff858f 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -820,7 +820,9 @@ export namespace Docs { export function DockDocument(documents: Array<Doc>, config: string, options: DocumentOptions, id?: string) { const inst = InstanceFromProto(Prototypes.get(DocumentType.COL), new List(documents), { ...options, _viewType: CollectionViewType.Docking, dockingConfig: config }, id); - Doc.GetProto(inst).data = new List<Doc>(documents); + const tabs = TreeDocument(documents, { title: "Active Tabs" }); + const all = TreeDocument([], { title: "Other Tabs" }); + Doc.GetProto(inst).data = new List<Doc>([tabs, all]); return inst; } |