diff options
author | bobzel <zzzman@gmail.com> | 2022-06-13 20:11:30 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2022-06-13 20:11:30 -0400 |
commit | 30f7330c82810d03373fbe63fd10796a090dece9 (patch) | |
tree | a9fbb7302b87bfd867c32b88ea23721f13d6c4b9 /src/client/views/DocComponent.tsx | |
parent | 576e5d1832349ffcf6d64367fa0c35f96e222fe4 (diff) | |
parent | 18fb08801442e6d1d98eb3a7de20f654be56d6ac (diff) |
Merge branch 'master' into mainview-jenny
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r-- | src/client/views/DocComponent.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx index 80835447d..8486b3d62 100644 --- a/src/client/views/DocComponent.tsx +++ b/src/client/views/DocComponent.tsx @@ -183,7 +183,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>() const targetDataDoc = this.props.Document[DataSym]; const docList = DocListCast(targetDataDoc[annotationKey ?? this.annotationKey]); const added = docs.filter(d => !docList.includes(d)); - const effectiveAcl = GetEffectiveAcl(this.dataDoc); + const effectiveAcl = GetEffectiveAcl(targetDataDoc); if (added.length) { if (effectiveAcl === AclPrivate || effectiveAcl === AclReadonly) { |