aboutsummaryrefslogtreecommitdiff
path: root/src/client/DocServer.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-07-07 14:20:57 -0400
committerbobzel <zzzman@gmail.com>2023-07-07 14:20:57 -0400
commit0f0d646e45de42c7f84f6fa316c80d1413f92e5c (patch)
tree4322fc75f8621c793d623be4836f3d77894156e3 /src/client/DocServer.ts
parentfa38dbe06d6ddb5f4499b759459a24d2b3c111e8 (diff)
parentaaaea6344e74b2d4585dccbc0ca3f0249d6dacd6 (diff)
added a dashboard count to dashboard view to indicate that shared dashboards exist. made dashboard lists scrollable. made guest mode be livePlayground to
Diffstat (limited to 'src/client/DocServer.ts')
-rw-r--r--src/client/DocServer.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/DocServer.ts b/src/client/DocServer.ts
index 876f2400d..8b8a9a618 100644
--- a/src/client/DocServer.ts
+++ b/src/client/DocServer.ts
@@ -101,7 +101,7 @@ export namespace DocServer {
}
export function getFieldWriteMode(field: string) {
- return Doc.CurrentUserEmail === 'guest' ? WriteMode.LiveReadonly : fieldWriteModes[field] || WriteMode.Default;
+ return Doc.CurrentUserEmail === 'guest' ? WriteMode.LivePlayground : fieldWriteModes[field] || WriteMode.Default;
}
export function registerDocWithCachedUpdate(doc: Doc, field: string, oldValue: any) {