diff options
| author | bobzel <zzzman@gmail.com> | 2021-08-19 18:42:46 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-08-19 18:42:46 -0400 |
| commit | 3051d9a16dff8efbf4d32465812093cae7508c74 (patch) | |
| tree | 4e12a41f5374d984f03deeb2a3740c30d0d8baf9 /src/fields/Doc.ts | |
| parent | 7cc9c998a904c8741dd57663c83f5ae64621ad44 (diff) | |
fixed errors and warnings
Diffstat (limited to 'src/fields/Doc.ts')
| -rw-r--r-- | src/fields/Doc.ts | 2 |
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(); |
