diff --git a/src/front/Components/DesignSystem/Toasts/ToastsContainer/ToastElement/index.tsx b/src/front/Components/DesignSystem/Toasts/ToastsContainer/ToastElement/index.tsx index d10cc2e2..896f0894 100644 --- a/src/front/Components/DesignSystem/Toasts/ToastsContainer/ToastElement/index.tsx +++ b/src/front/Components/DesignSystem/Toasts/ToastsContainer/ToastElement/index.tsx @@ -51,7 +51,7 @@ class ToastElementClass extends React.Component { data-clickable={toast.redirectUrl ? true : false} onClick={this.handleClick}> {toast.time !== 0 &&
} -
+
{toast.icon && toast.icon}
diff --git a/src/front/Components/Layouts/Folder/FolderInformation/ClientView/DocumentTables/index.tsx b/src/front/Components/Layouts/Folder/FolderInformation/ClientView/DocumentTables/index.tsx index d8dd6ca1..8d85e9f2 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/ClientView/DocumentTables/index.tsx +++ b/src/front/Components/Layouts/Folder/FolderInformation/ClientView/DocumentTables/index.tsx @@ -122,7 +122,7 @@ export default function DocumentTables(props: IProps) { label={tradDocumentStatus[document.document_status].toUpperCase()} /> ), - created_at: document.created_at, + created_at: document.created_at ? new Date(document.created_at).toLocaleDateString() : "_", actions: ( ), - created_at: document.created_at, + created_at: document.created_at ? new Date(document.created_at).toLocaleDateString() : "_", actions: (
), - created_at: document.created_at, + created_at: document.created_at ? new Date(document.created_at).toLocaleDateString() : "_", actions: "", }; }) diff --git a/src/front/Components/Layouts/Folder/FolderInformation/index.tsx b/src/front/Components/Layouts/Folder/FolderInformation/index.tsx index 2f1b37a0..d7528a68 100644 --- a/src/front/Components/Layouts/Folder/FolderInformation/index.tsx +++ b/src/front/Components/Layouts/Folder/FolderInformation/index.tsx @@ -66,6 +66,9 @@ export default function FolderInformation(props: IProps) { include: { contact: true, documents: { + where: { + folder_uid: folderUid, + }, include: { folder: true, document_type: true, diff --git a/src/front/Components/Layouts/Folder/UpdateClient/index.tsx b/src/front/Components/Layouts/Folder/UpdateClient/index.tsx index f40edc66..75d08e65 100644 --- a/src/front/Components/Layouts/Folder/UpdateClient/index.tsx +++ b/src/front/Components/Layouts/Folder/UpdateClient/index.tsx @@ -84,14 +84,14 @@ class UpdateClientClass extends BasePage {
error.property === "first_name")} /> error.property === "last_name")}