Allows commenting outside edit mode when seamless editing is disabled. (#5422)

This commit is contained in:
Tom Moor
2023-06-10 15:56:00 +03:00
committed by GitHub
parent 3f7e66980b
commit d319bb7d9a
12 changed files with 112 additions and 42 deletions

View File

@@ -510,7 +510,8 @@ class DocumentScene extends React.Component<Props> {
onPublish={this.onPublish}
onCancel={this.goBack}
readOnly={readOnly}
readOnlyWriteCheckboxes={readOnly && abilities.update}
canUpdate={abilities.update}
canComment={abilities.comment}
>
{shareId && (
<ReferencesWrapper isOnlyTitle={document.isOnlyTitle}>