From 26afb42f321920c878fd45ceaee5f06002de1fb2 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 26 Mar 2025 15:02:13 -0400 Subject: from last --- src/client/views/collections/CollectionSubView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index bdc3864cc..834f35071 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -111,7 +111,7 @@ export function CollectionSubView() { return this._props.TemplateDataDocument instanceof Doc && this.layoutDoc.isTemplateForField // ? Doc.GetProto(this._props.TemplateDataDocument) : this.Document.resolvedDataDoc - ? this._props.Document + ? this._renderDoc : this.Document[DocData]; // if the layout document has a resolvedDataDoc, then we don't want to get its parent which would be the unexpanded template } -- cgit v1.2.3-70-g09d2