From ca9cf672bdfd8ebf11cb20264474bcb9d9729944 Mon Sep 17 00:00:00 2001 From: bobzel Date: Fri, 21 Aug 2020 18:46:58 -0400 Subject: switched from "scenes" to "dashboards" --- src/client/documents/Documents.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/client/documents') 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, 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(documents); + const tabs = TreeDocument(documents, { title: "Active Tabs" }); + const all = TreeDocument([], { title: "Other Tabs" }); + Doc.GetProto(inst).data = new List([tabs, all]); return inst; } -- cgit v1.2.3-70-g09d2