diff options
author | bobzel <zzzman@gmail.com> | 2021-03-18 15:42:13 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-03-18 15:42:13 -0400 |
commit | 5845674720497f87c5ccada7a188817f3c912c6e (patch) | |
tree | c1542aa87ce6bf4a1f8ac09d9e3ba457d368474d /src/client/documents/Documents.ts | |
parent | ee53c138015fcf232e424b61a4a9e5521e49ada9 (diff) |
preparing to break sidebar out into its own component
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 89071f75b..86ca50316 100644 --- a/src/client/documents/Documents.ts +++ b/src/client/documents/Documents.ts @@ -642,7 +642,7 @@ export namespace Docs { * only when creating a DockDocument from the current user's already existing * main document. */ - export function InstanceFromProto(proto: Doc, data: Field | undefined, options: DocumentOptions, delegId?: string, fieldKey: string = "data", protoId?: string) { + function InstanceFromProto(proto: Doc, data: Field | undefined, options: DocumentOptions, delegId?: string, fieldKey: string = "data", protoId?: string) { 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, "^_"); |