diff options
author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-31 12:03:33 -0400 |
---|---|---|
committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-31 12:03:33 -0400 |
commit | 0b92d6ae83b3a229809f514af9b8a8cbabd9cd3b (patch) | |
tree | e91488ecd1813026a3cab013bf59e244305a35e4 /src | |
parent | 7512ed96b9ed7a02332d55749889061191d82b55 (diff) |
fixed template docs without an author
Diffstat (limited to 'src')
-rw-r--r-- | src/client/documents/Documents.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 984d43e32..40eae0528 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -1025,6 +1025,7 @@ export namespace DocUtils { event: (args: { x: number, y: number }) => { const newDoc = Doc.ApplyTemplate(dragDoc); if (newDoc) { + newDoc.author = Doc.CurrentUserEmail; newDoc.x = x; newDoc.y = y; docAdder(newDoc); |