diff options
author | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-08 21:24:47 -0400 |
---|---|---|
committer | Andy Rickert <andrew_rickert@brown.edu> | 2020-08-08 21:24:47 -0400 |
commit | 3bd97210a1112d9d0af802255677caf1de95616c (patch) | |
tree | 0f4ec5e2dcaa408eda4a7e6efc874fce4fafdfea /src/client/views/GlobalKeyHandler.ts | |
parent | d4cb5db00da87f8f11794b6272bc3b356dd982bf (diff) |
tidying up assorted features, disabling editing doc keys in search, etc
Diffstat (limited to 'src/client/views/GlobalKeyHandler.ts')
-rw-r--r-- | src/client/views/GlobalKeyHandler.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/views/GlobalKeyHandler.ts b/src/client/views/GlobalKeyHandler.ts index 3a61e89ce..3b8828ecc 100644 --- a/src/client/views/GlobalKeyHandler.ts +++ b/src/client/views/GlobalKeyHandler.ts @@ -331,6 +331,8 @@ export default class KeyManager { undoBatch(() => { targetDataDoc[fieldKey] = new List<Doc>([...docList, ...added]); targetDataDoc[fieldKey + "-lastModified"] = new DateField(new Date(Date.now())); + const lastModified = "lastModified"; + targetDataDoc[lastModified] = new DateField(new Date(Date.now())); })(); } } |