quick fix of sections in preview

This commit is contained in:
simon lehericey 2022-03-15 10:54:39 +01:00
parent 79bb26e4dd
commit 44f2d93277

View file

@ -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?