diff --git a/frontend/scenes/DocumentScene/DocumentScene.js b/frontend/scenes/DocumentScene/DocumentScene.js index 3bda986c8..def21887e 100644 --- a/frontend/scenes/DocumentScene/DocumentScene.js +++ b/frontend/scenes/DocumentScene/DocumentScene.js @@ -150,10 +150,14 @@ class DocumentScene extends React.Component { const { document, pathToDocument } = this.store; if (document && document.collection) { const titleSections = pathToDocument - ? pathToDocument.map(node => {node.title}) + ? pathToDocument.map(node => ( + {node.title} + )) : []; titleSections.unshift( - {document.collection.name} + + {document.collection.name} + ); return (