diff options
author | bobzel <zzzman@gmail.com> | 2023-08-29 16:33:37 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2023-08-29 16:33:37 -0400 |
commit | 0c4f57875c8aaf599ff111a8b8122895d2addab3 (patch) | |
tree | 785d3f65f1c1e01d2a02f5e9e8317445131e1215 /src/client/views/DocComponent.tsx | |
parent | 349e586b01b18c641a4c753b709f4217a3f3e528 (diff) |
more cleanup
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index e076e69ca..6a1efdf9c 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -201,7 +201,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>() const annoDocs = targetDataDoc[annotationKey ?? this.annotationKey] as List<Doc>; if (annoDocs instanceof List) annoDocs.push(...added.filter(add => !annoDocs.includes(add))); else targetDataDoc[annotationKey ?? this.annotationKey] = new List<Doc>(added); - targetDataDoc[(annotationKey ?? this.annotationKey) + '_modificationDate'] = new DateField(new Date(Date.now())); + targetDataDoc[(annotationKey ?? this.annotationKey) + '_modificationDate'] = new DateField(); } } return true; |