aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocComponent.tsx
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-06-23 11:11:07 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-06-23 11:11:07 -0400
commit32239432b79664f577bf0c84d4688c4e5cf7f14f (patch)
treeb581d7cbaf0f4ae40b7967a084fe9a0ac283184c /src/client/views/DocComponent.tsx
parent1a9ecbb274e7b95a5b1dca6c45c329d9a32432c7 (diff)
acls in proto so that layout acls start cleared
Diffstat (limited to 'src/client/views/DocComponent.tsx')
-rw-r--r--src/client/views/DocComponent.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocComponent.tsx b/src/client/views/DocComponent.tsx
index 98aa9f880..6f350e0fc 100644
--- a/src/client/views/DocComponent.tsx
+++ b/src/client/views/DocComponent.tsx
@@ -199,7 +199,7 @@ export function ViewBoxAnnotatableComponent<P extends ViewBoxAnnotatableProps>()
const permissionString = StrCast(Doc.GetProto(this.props.Document)[key])
const permissionSymbol = ReverseHierarchyMap.get(permissionString)!.acl
const permission = HierarchyMapping.get(permissionSymbol)!.name
- distributeAcls(key, permission, d)
+ distributeAcls(key, permission, Doc.GetProto(d))
}
})
);