fix(#217): TS2367 narrowing ANNULE — build Docker #233

Merged
jmartin merged 1 commits from fix/217-ts-annule-narrowing into develop 2026-10-16 14:52:13 +00:00
@@ -623,11 +623,11 @@ export class EvenementsAgendaService {
} }
if (role === RoleType.PARENT && !isCreator) { if (role === RoleType.PARENT && !isCreator) {
// ANNULE déjà exclu en tête de actionsPour (narrowing TS)
const congeEnAttente = const congeEnAttente =
row.type === TypeEvenementAgendaType.CONGE_AM && row.type === TypeEvenementAgendaType.CONGE_AM &&
row.statut === StatutEvenementAgendaType.EN_ATTENTE && row.statut === StatutEvenementAgendaType.EN_ATTENTE &&
statutLot !== AgendaLotStatutType.REFUSE && statutLot !== AgendaLotStatutType.REFUSE;
statutLot !== AgendaLotStatutType.ANNULE;
const arretAck = const arretAck =
row.type === TypeEvenementAgendaType.ARRET_MALADIE_AM; row.type === TypeEvenementAgendaType.ARRET_MALADIE_AM;
const soinAck = row.type === TypeEvenementAgendaType.SOIN_ENFANT; const soinAck = row.type === TypeEvenementAgendaType.SOIN_ENFANT;