aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-31 12:17:47 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-31 12:17:47 -0500
commit70a56d1cdf4a5a14e982b2747671b94928330c30 (patch)
tree45c76571c448fee2d8a81d2fa2e9caac081d7fa5 /src/client/documents/Documents.ts
parent7778393f3d920623f4281fa08eec6c4d8f9d3cf3 (diff)
parent0b92d6ae83b3a229809f514af9b8a8cbabd9cd3b (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into menu_restructure
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 88c25567e..de0557185 100644
--- a/src/client/documents/Documents.ts
+++ b/src/client/documents/Documents.ts
@@ -1037,6 +1037,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);