aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocComponent.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-28 13:00:55 -0400
committerbobzel <zzzman@gmail.com>2020-09-28 13:00:55 -0400
commit9d9e7593a0ece66d3538ea5986de3388a0759ad7 (patch)
tree4f8c36a2134dfaebd0c80bf7a31178233c39713c /src/client/views/DocComponent.tsx
parent22dae4786350f515d801e2128390587075617fe5 (diff)
fixed filtering annotation anchors on PDFs. added tooltip for identifying who made an annotation.
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r--src/client/views/DocComponent.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx
index dad48d002..b3c90a68f 100644
--- a/src/client/views/DocComponent.tsx
+++ b/src/client/views/DocComponent.tsx
@@ -166,7 +166,8 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps, T
added.forEach(d => {
for (const [key, value] of Object.entries(this.props.Document[AclSym])) {
if (d.author === key.substring(4).replace("_", ".") && !d.aliasOf) distributeAcls(key, SharingPermissions.Admin, d, true);
- else distributeAcls(key, this.AclMap.get(value) as SharingPermissions, d, true);
+ //else if (this.props.Document[key] === SharingPermissions.Admin) distributeAcls(key, SharingPermissions.Add, d, true);
+ // else distributeAcls(key, this.AclMap.get(value) as SharingPermissions, d, true);
}
});
}