From 0d116522be4c8c30229538f03b9043fbb48a1fd8 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 14 Sep 2023 10:59:32 -0400 Subject: added a disable slider for sharing UI in document decorations --- src/fields/Doc.ts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fields') diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts index a8e2440ca..5af49629d 100644 --- a/src/fields/Doc.ts +++ b/src/fields/Doc.ts @@ -404,6 +404,12 @@ export class Doc extends RefField { public static set noviceMode(val) { Doc.UserDoc().noviceMode = val; } + public static get IsSharingEnabled() { + return Doc.UserDoc().isSharingEnabled as boolean; + } + public static set IsSharingEnabled(val) { + Doc.UserDoc().isSharingEnabled = val; + } public static get defaultAclPrivate() { return Doc.UserDoc().defaultAclPrivate; } -- cgit v1.2.3-70-g09d2