From be805be857146c91179c504c0b5f62c0ef80d3fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Arod?= Date: Mon, 16 Sep 2024 18:25:48 +0200 Subject: [PATCH] feat; ajoute support du Type d'evt IP 4 --- src/data/EvenementFamille.ts | 3 ++- src/data/TypeEvenementsSocial.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/data/EvenementFamille.ts b/src/data/EvenementFamille.ts index 72194b8..edb7669 100644 --- a/src/data/EvenementFamille.ts +++ b/src/data/EvenementFamille.ts @@ -72,6 +72,7 @@ export function isInformationPreoccupante(e: EvenementFamille): boolean { return ( e.Type === "Information préoccupante 1" || e.Type === "Information préoccupante 2" || - e.Type === "Information préoccupante 3" + e.Type === "Information préoccupante 3" || + e.Type === "Information préoccupante 4" ); } diff --git a/src/data/TypeEvenementsSocial.ts b/src/data/TypeEvenementsSocial.ts index b5f47ef..73a2095 100644 --- a/src/data/TypeEvenementsSocial.ts +++ b/src/data/TypeEvenementsSocial.ts @@ -3,7 +3,9 @@ export const typesEvenementsSocial = [ "Information préoccupante 1", "Information préoccupante 2", "Information préoccupante 3", + "Information préoccupante 4", "Classement suite IP", + "Classement suite AEMO MIJE ou...", "Enquête sociale", "Juge pour enfants", "Audition des enfants",