feat(Logic.computable?): add computable? to know if a ineligibilite_rules set is computable

This commit is contained in:
mfo 2024-06-05 17:33:03 +02:00
parent 5de4ce889f
commit 5644692448
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
9 changed files with 141 additions and 0 deletions

View file

@ -21,6 +21,10 @@ module ChampConditionalConcern
end
end
def reset_visible # recompute after a dossier update
remove_instance_variable :@visible if instance_variable_defined? :@visible
end
private
def champs_for_condition