diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-05-03 11:41:13 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-05-03 11:41:13 -0400 |
commit | 06bba6d058794c9750e4a61653e89580b351ea2c (patch) | |
tree | cb88188b2b3944248f2ca7abb18f0b7253d8fabb /src/client/views/collections/CollectionTreeView.tsx | |
parent | 9de627f9d11777482029e81168004140766cbb3d (diff) |
added DelegateDocument creator. switched default templates to delegates.
Diffstat (limited to 'src/client/views/collections/CollectionTreeView.tsx')
-rw-r--r-- | src/client/views/collections/CollectionTreeView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionTreeView.tsx b/src/client/views/collections/CollectionTreeView.tsx index 835dfc637..6d6f8d316 100644 --- a/src/client/views/collections/CollectionTreeView.tsx +++ b/src/client/views/collections/CollectionTreeView.tsx @@ -742,7 +742,7 @@ export class CollectionTreeView extends CollectionSubView<Document, Partial<coll Doc.GetProto(img).doubleClickView = doubleClickView; } }); - Doc.GetProto(d).layout = ImageBox.LayoutString("hero"); + Doc.GetProto(d).proto = heroView; // all devices "are" heroViews that share the same layout & defaults. Seems better than making them all be independent and copy a layout string // .layout = ImageBox.LayoutString("hero"); }); Document.childLayoutTemplate = heroView; |