feat(gallery): create representations for pjs sent by messagerie

This commit is contained in:
Eric Leroy-Terquem 2024-06-25 11:38:44 +02:00
parent 59ddaf5b0b
commit 3516bae008
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605

View file

@ -8,7 +8,7 @@ module BlobImageProcessorConcern
end
def representation_required?
attachments.any? { _1.record.class == Champs::TitreIdentiteChamp || _1.record.class == Champs::PieceJustificativeChamp }
attachments.any? { _1.record.class == Champs::TitreIdentiteChamp || _1.record.class == Champs::PieceJustificativeChamp || _1.record.class == Commentaire }
end
private