From d2004b63081250b8e73de9068176107333977815 Mon Sep 17 00:00:00 2001 From: Vins Date: Wed, 22 Jan 2025 16:52:17 +0100 Subject: [PATCH] Switched Collab to notaire --- .../Components/Layouts/ClientDashboard/ContactBox/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/front/Components/Layouts/ClientDashboard/ContactBox/index.tsx b/src/front/Components/Layouts/ClientDashboard/ContactBox/index.tsx index fd679e57..2baf4737 100644 --- a/src/front/Components/Layouts/ClientDashboard/ContactBox/index.tsx +++ b/src/front/Components/Layouts/ClientDashboard/ContactBox/index.tsx @@ -20,7 +20,7 @@ export default function ContactBox(props: IProps) { const notaryContact = useMemo( () => - folder?.stakeholders!.find((stakeholder) => stakeholder.office_role?.name === "Collaborateur")?.contact ?? + folder?.stakeholders!.find((stakeholder) => stakeholder.office_role?.name === "Notaire")?.contact ?? folder?.stakeholders![0]!.contact, [folder], );