feat(routing): compute from selected if drop_down_other

This commit is contained in:
Eric Leroy-Terquem 2023-07-26 17:29:54 +02:00
parent 155a797aba
commit c85d7f8a5a

View file

@ -31,7 +31,7 @@ class Logic::ChampValue < Logic::Term
targeted_champ = champ(champs)
return nil if !targeted_champ.visible?
return nil if targeted_champ.blank?
return nil if targeted_champ.blank? & !targeted_champ.drop_down_other?
# on dépense 22ms ici, à cause du map, mais on doit pouvoir passer par un champ type
case targeted_champ.type