diff --git a/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx b/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx index 1ac9c26d..d45df44f 100644 --- a/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx +++ b/src/front/Components/Layouts/Folder/ViewDocuments/index.tsx @@ -187,7 +187,9 @@ class ViewDocumentsClass extends BasePage { override async componentDidMount() { try { const document = await Documents.getInstance().getByUid(this.props.documentUid, { - files: true, + files: { + where: { archived_at: null }, + }, document_type: true, folder: true, });