diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2019-05-30 23:05:42 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2019-05-30 23:05:42 -0400 |
commit | aafd107b1c80c62b435ba2d98fea7776c9985700 (patch) | |
tree | 8be795b1c6a37d3e5287e74b9ab70fcab82739ab /src/client/documents/Documents.ts | |
parent | 1c954ccf7583d1e63613a7e47724fbdc2000a8f5 (diff) | |
parent | 0348b9f5ecb5419965bcd9eb5a37d629dd4f3a6e (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index fffada459..ab61b915c 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -295,7 +295,7 @@ export namespace Docs { return CreateInstance(webProto, new HtmlField(html), options); } export function KVPDocument(document: Doc, options: DocumentOptions = {}) { - return CreateInstance(kvpProto, document, options); + return CreateInstance(kvpProto, document, { title: document.title + ".kvp", ...options }); } export function FreeformDocument(documents: Array<Doc>, options: DocumentOptions, makePrototype: boolean = true) { if (!makePrototype) { |