Merge pull request #7042 from betagouv/fix_sections
quick fix of sections in preview
This commit is contained in:
commit
968531f45b
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ class Champ < ApplicationRecord
|
|||
end
|
||||
|
||||
def sections
|
||||
@sections ||= dossier.sections_for(self)
|
||||
@sections ||= dossier&.sections_for(self)
|
||||
end
|
||||
|
||||
def mandatory_and_blank?
|
||||
|
|
Loading…
Reference in a new issue