aboutsummaryrefslogtreecommitdiff
path: root/src/client/documents/Documents.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-07-31 22:46:07 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-07-31 22:46:07 +0530
commitf4f5f23b651fb45f630d03a9419cf498861b6bfa (patch)
tree7311444069ae1159da25f108b23fbd518d02966e /src/client/documents/Documents.ts
parent5d50404b127560d525cab4645fcd3b07367ef5a2 (diff)
parent0b92d6ae83b3a229809f514af9b8a8cbabd9cd3b (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into acls_uv
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 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);