diff options
author | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-12 16:13:51 +0530 |
---|---|---|
committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2020-08-12 16:13:51 +0530 |
commit | 12f3a34f253c2d70ead3fa9d7260df2d8cd0c2cd (patch) | |
tree | 5f2a492df9b637a8352b3c02d2ea31c9d45d5e30 /src/client/views/DocComponent.tsx | |
parent | 6cc1e1df5c4809ca0c31b40f11a6d02cf3b3dc04 (diff) | |
parent | 8fd9d9348de59caccfac9e98102fea431ac46999 (diff) |
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into acls_uv
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index a05bfc302..4a92ed262 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -176,6 +176,8 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T added.map(doc => doc.context = this.props.Document); (targetDataDoc[this.annotationKey] as List<Doc>).push(...added); targetDataDoc[this.annotationKey + "-lastModified"] = new DateField(new Date(Date.now())); + const lastModified = "lastModified"; + targetDataDoc[lastModified] = new DateField(new Date(Date.now())); } } } |