fix(#217): TS2367 narrowing ANNULE — build Docker
Co-authored-by: Julien Martin <julien.martin@ptits-pas.fr>
This commit was merged in pull request #233.
This commit is contained in:
@@ -623,11 +623,11 @@ export class EvenementsAgendaService {
|
||||
}
|
||||
|
||||
if (role === RoleType.PARENT && !isCreator) {
|
||||
// ANNULE déjà exclu en tête de actionsPour (narrowing TS)
|
||||
const congeEnAttente =
|
||||
row.type === TypeEvenementAgendaType.CONGE_AM &&
|
||||
row.statut === StatutEvenementAgendaType.EN_ATTENTE &&
|
||||
statutLot !== AgendaLotStatutType.REFUSE &&
|
||||
statutLot !== AgendaLotStatutType.ANNULE;
|
||||
statutLot !== AgendaLotStatutType.REFUSE;
|
||||
const arretAck =
|
||||
row.type === TypeEvenementAgendaType.ARRET_MALADIE_AM;
|
||||
const soinAck = row.type === TypeEvenementAgendaType.SOIN_ENFANT;
|
||||
|
||||
Reference in New Issue
Block a user