aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.tsx
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-06-26 10:38:14 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-06-26 10:38:14 -0400
commitc258f2ec493ebb84c6f8b20a723ed8df001e3927 (patch)
tree29cb66cae39ddbd21bb44d99fd9205cb41839e0e /src/client/views/DocumentDecorations.tsx
parenta807da6b6fed067888f817e2273b29b8b6219e52 (diff)
layout acl updates - SharingManager works
Diffstat (limited to 'src/client/views/DocumentDecorations.tsx')
-rw-r--r--src/client/views/DocumentDecorations.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/DocumentDecorations.tsx b/src/client/views/DocumentDecorations.tsx
index 19ab98cea..b9fef5cf8 100644
--- a/src/client/views/DocumentDecorations.tsx
+++ b/src/client/views/DocumentDecorations.tsx
@@ -203,7 +203,7 @@ export class DocumentDecorations extends React.Component<{ PanelWidth: number; P
if (effectiveLayoutAcl != AclAdmin && effectiveLayoutAcl != AclEdit && effectiveLayoutAcl != AclAugment){
return false;
}
-const dragDocView = SelectionManager.Views()[0];
+ const dragDocView = SelectionManager.Views()[0];
const containers = new Set<Doc | undefined>();
SelectionManager.Views().forEach(v => containers.add(DocCast(v.rootDoc.embedContainer)));
if (containers.size > 1) return false;