diff options
author | bobzel <zzzman@gmail.com> | 2024-10-11 22:01:50 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-11 22:01:50 -0400 |
commit | 737efc3e6cada537536c7bc5e46f5b57970da276 (patch) | |
tree | 2be4f30196f829fea4c9579875bef4e0fe5fa393 /src/fields/util.ts | |
parent | bb8fe2933154c6db70cfe5da1e890535bc9012d4 (diff) |
Lots of cleanup in comparisonBox to get rid of duplicated code and siimplify long functions. Utility functions were added to ComparisonBox to simplify menu functions, and to FormattedTextBox to simplify creating centered text views.
Diffstat (limited to 'src/fields/util.ts')
-rw-r--r-- | src/fields/util.ts | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fields/util.ts b/src/fields/util.ts index 60eadcdfd..33764aca5 100644 --- a/src/fields/util.ts +++ b/src/fields/util.ts @@ -227,7 +227,6 @@ function getEffectiveAcl(target: Doc | ListImpl<FieldType>, user?: string): symb * @param allowUpgrade whether permissions can be made less restrictive * @param layoutOnly just sets the layout doc's ACL (unless the data doc has no entry for the ACL, in which case it will be set as well) */ -// eslint-disable-next-line default-param-last export function distributeAcls(key: string, acl: SharingPermissions, target: Doc, visited: Doc[] = [], allowUpgrade?: boolean, layoutOnly = false) { const selfKey = `acl_${normalizeEmail(ClientUtils.CurrentUserEmail())}`; if (!target || visited.includes(target) || key === selfKey) return; |