diff options
author | bobzel <zzzman@gmail.com> | 2021-04-06 18:39:20 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-04-06 18:39:20 -0400 |
commit | 69563c0c81a3e6ade2fe460af8fad76cef3a3897 (patch) | |
tree | 063a5b23f503fc3219193052ff66509898e50f3c /src/client/documents/Documents.ts | |
parent | cdfa4390641f5dd4ba5664217417fb42374ed9ea (diff) |
reverted back to not setting 'system' for non-system documents.
Diffstat (limited to 'src/client/documents/Documents.ts')
-rw-r--r-- | src/client/documents/Documents.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/documents/Documents.ts b/src/client/documents/Documents.ts index 65dd826ef..3b40f0cc7 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -652,7 +652,7 @@ export namespace Docs { const viewKeys = ["x", "y", "system"]; // keys that should be addded to the view document even though they don't begin with an "_" const { omit: dataProps, extract: viewProps } = OmitKeys(options, viewKeys, "^_"); - dataProps.system = viewProps.system ? (viewProps.system) : (viewProps.system = false); + dataProps.system = viewProps.system; dataProps.isPrototype = true; dataProps.author = Doc.CurrentUserEmail; dataProps.creationDate = new DateField; |