aboutsummaryrefslogtreecommitdiff
path: root/src/fields/Doc.ts
diff options
context:
space:
mode:
authordinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-08-22 13:16:11 -0400
committerdinhanhtruong <70963346+dinhanhtruong@users.noreply.github.com>2021-08-22 13:16:11 -0400
commit91cb0ed53125061d0ab570d5b7e3e34457e8da06 (patch)
tree161dd3683431be148abce74ceff8182b6737e16d /src/fields/Doc.ts
parent8f77323d6be4d4e3537d2bc2bbe815e9d578eccb (diff)
parent3051d9a16dff8efbf4d32465812093cae7508c74 (diff)
Merge branch 'master' into linking-anh
Diffstat (limited to 'src/fields/Doc.ts')
-rw-r--r--src/fields/Doc.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fields/Doc.ts b/src/fields/Doc.ts
index 1eeadeedc..e4087cf43 100644
--- a/src/fields/Doc.ts
+++ b/src/fields/Doc.ts
@@ -257,7 +257,7 @@ export class Doc extends RefField {
DocServer.GetRefField(this[Id], true);
}
};
- const writeMode = DocServer.getFieldWriteMode(fKey as string);
+ const writeMode = DocServer.getFieldWriteMode(fKey);
if (fKey.startsWith("acl") || writeMode !== DocServer.WriteMode.Playground) {
delete this[CachedUpdates][fKey];
await fn();