fix: public share links attempting to load backlinks

This commit is contained in:
Tom Moor
2019-07-13 11:33:32 -07:00
parent a515631e21
commit 18d104218e

View File

@@ -416,12 +416,13 @@ class DocumentScene extends React.Component<Props> {
ui={this.props.ui}
schema={schema}
/>
{!this.isEditing && (
<Backlinks
documents={this.props.documents}
document={document}
/>
)}
{!this.isEditing &&
!isShare && (
<Backlinks
documents={this.props.documents}
document={document}
/>
)}
</MaxWidth>
</Container>
</Container>