From 7f27720aa9b3dd691b95635ea8b345a5a14a417f Mon Sep 17 00:00:00 2001 From: bob Date: Tue, 28 Jan 2020 18:32:51 -0500 Subject: fixes for texttemplates that get updated. --- src/client/util/RichTextSchema.tsx | 1 - 1 file changed, 1 deletion(-) (limited to 'src/client/util/RichTextSchema.tsx') diff --git a/src/client/util/RichTextSchema.tsx b/src/client/util/RichTextSchema.tsx index f667b86af..c0400bd6c 100644 --- a/src/client/util/RichTextSchema.tsx +++ b/src/client/util/RichTextSchema.tsx @@ -791,7 +791,6 @@ export class DashDocView { if (finalLayout !== dashDoc && finalKey) { const finalLayoutField = finalLayout[finalKey]; if (finalLayoutField instanceof ObjectField) { - //finalLayout._textTemplate = ObjectField.MakeCopy(finalLayoutField); finalLayout._textTemplate = ComputedField.MakeFunction(`copyField(this.${finalKey})`, { this: Doc.name }); } } -- cgit v1.2.3-70-g09d2