fix(dossier): no crach if condition target champ is not found
This commit is contained in:
parent
792cfec32d
commit
1e0baca866
1 changed files with 1 additions and 0 deletions
|
@ -37,6 +37,7 @@ class Logic::ChampValue < Logic::Term
|
|||
def compute(champs)
|
||||
targeted_champ = champ(champs)
|
||||
|
||||
return nil if targeted_champ.nil?
|
||||
return nil if !targeted_champ.visible?
|
||||
return nil if targeted_champ.blank? & !targeted_champ.drop_down_other?
|
||||
|
||||
|
|
Loading…
Reference in a new issue