From b1ab0c6ed296fcc67c2e6541c7b8a390721791fa Mon Sep 17 00:00:00 2001 From: Kara Diaby Date: Mon, 25 Apr 2022 15:55:12 +0200 Subject: [PATCH] =?UTF-8?q?Ajoute=20un=20avertissement=20sur=20les=20champ?= =?UTF-8?q?s=20de=20type=20Titre=20Identit=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TypesDeChampEditor/components/TypeDeChamp.tsx | 1 + .../components/TypeDeChampPieceJustificative.tsx | 13 +++++++++++++ 2 files changed, 14 insertions(+) diff --git a/app/javascript/components/TypesDeChampEditor/components/TypeDeChamp.tsx b/app/javascript/components/TypesDeChampEditor/components/TypeDeChamp.tsx index 4fd8c31c7..4d5a2b34a 100644 --- a/app/javascript/components/TypesDeChampEditor/components/TypeDeChamp.tsx +++ b/app/javascript/components/TypesDeChampEditor/components/TypeDeChamp.tsx @@ -161,6 +161,7 @@ export const TypeDeChampComponent = SortableElement( /> ; @@ -32,6 +34,17 @@ export function TypeDeChampPieceJustificative({ ); } + + if (isTitreIdentite) { + return ( +
+

+ Dans le cadre de la RGPD, le titre d'identité sera supprimé lors + de l'acceptation du dossier +

+
+ ); + } return null; }