aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-07-06 18:18:17 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-07-06 18:18:17 +0530
commitf4830de4f8c4794ec98e54be9ba8730e46155c35 (patch)
tree8370f89a3c4e3ac7097a7105323b3787833c4f8c /src/client/DocServer.ts
parent370e35c33fb0e0991871eeae38b4052a2354219c (diff)
trying first implementation of storing acls
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index eac53bb02..860a8fd92 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -39,9 +39,10 @@ export namespace DocServer {
const docsWithUpdates: { [field: string]: Set<Doc> } = {};
export var PlaygroundFields: string[];
- export function setPlaygroundFields(livePlayougroundFields: string[]) {
- DocServer.PlaygroundFields = livePlayougroundFields;
- livePlayougroundFields.forEach(f => DocServer.setFieldWriteMode(f, DocServer.WriteMode.LivePlayground));
+ export function setPlaygroundFields(livePlaygroundFields: string[]) {
+ console.log("here");
+ DocServer.PlaygroundFields = livePlaygroundFields;
+ livePlaygroundFields.forEach(f => DocServer.setFieldWriteMode(f, DocServer.WriteMode.LivePlayground));
}
export function setFieldWriteMode(field: string, writeMode: WriteMode) {