aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r--src/client/documents/Documents.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts
index 88f48488a..c0f0e0552 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -707,6 +707,7 @@ export namespace Docs {
layout = FormattedTextBox.LayoutString;
}
created.layout = layout?.(fieldKey);
+ created.title = fieldKey;
proto && (created.proto = Doc.GetProto(proto));
return created;
}