diff options
| author | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-06-19 19:41:12 -0400 |
|---|---|---|
| committer | usodhi <61431818+usodhi@users.noreply.github.com> | 2021-06-19 19:41:12 -0400 |
| commit | 0c6269f2eda7a090ebd7d10298d55b7bc832297b (patch) | |
| tree | 534959febb6559af80d643604096e5dbf81d0e7b /src/client/views/DocComponent.tsx | |
| parent | fe672afad987b246b8be79366d2d9c45b6fba502 (diff) | |
trying to solve sidebar issues
Diffstat (limited to 'src/client/views/DocComponent.tsx')
| -rw-r--r-- | src/client/views/DocComponent.tsx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index f1042de0f..2baf9fbda 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -205,7 +205,6 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T if (effectiveAcl === AclAddonly) { added.map(doc => { - if ([AclAdmin, AclEdit].includes(GetEffectiveAcl(doc))) inheritParentAcls(CurrentUserUtils.ActiveDashboard, doc); doc.context = this.props.Document; if (annotationKey ?? this._annotationKey) Doc.GetProto(doc).annotationOn = this.props.Document; |
