diff --git a/frontend/components/Layout/components/SidebarCollection/SidebarCollection.js b/frontend/components/Layout/components/SidebarCollection/SidebarCollection.js index 2ca591be2..ec197e6c3 100644 --- a/frontend/components/Layout/components/SidebarCollection/SidebarCollection.js +++ b/frontend/components/Layout/components/SidebarCollection/SidebarCollection.js @@ -28,7 +28,7 @@ class SidebarCollection extends React.Component { {(document.pathToDocument.includes(doc.id) || document.id === doc.id) && - + {doc.children && this.renderDocuments(doc.children)} } diff --git a/frontend/scenes/Document/Document.js b/frontend/scenes/Document/Document.js index 275ba0429..b606de365 100644 --- a/frontend/scenes/Document/Document.js +++ b/frontend/scenes/Document/Document.js @@ -119,7 +119,7 @@ type Props = { render() { const isNew = this.props.newDocument || this.props.newChildDocument; const isEditing = this.props.match.params.edit; - const isFetching = !this.document && get(this.document, 'isFetching'); + const isFetching = !this.document; const titleText = get(this.document, 'title', 'Loading'); return (