diff --git a/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx b/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx index 68b41f2e..677b0260 100644 --- a/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx +++ b/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx @@ -74,7 +74,7 @@ class ViewDocumentsClass extends BasePage { {this.state.document && this.state.document.files && this.state.selectedFile && (
- {this.state.document.document_type?.name} + {this.state.document.folder?.name} {this.state.document.document_type?.name} @@ -188,6 +188,7 @@ class ViewDocumentsClass extends BasePage { const document = await Documents.getInstance().getByUid(this.props.documentUid, { files: true, document_type: true, + folder: true, }); this.setState({ document,