aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-03-26 15:02:13 -0400
committerbobzel <zzzman@gmail.com>2025-03-26 15:02:13 -0400
commit26afb42f321920c878fd45ceaee5f06002de1fb2 (patch)
treef4f2db8211147c3219fc07491db6b71b862cb75c /src
parent68e64bbe6bd777e93f9bffe7eb958f8abdce53c3 (diff)
from last
Diffstat (limited to 'src')
-rw-r--r--src/client/views/collections/CollectionSubView.tsx2
1 files changed, 1 insertions, 1 deletions
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<X>() {
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
}