feat(gallery): update gallery item badge class after seen
This commit is contained in:
parent
d9f604e8ce
commit
3bc232e81e
4 changed files with 49 additions and 5 deletions
|
@ -386,6 +386,7 @@ module Instructeurs
|
|||
.flatten
|
||||
|
||||
@gallery_attachments = champs_attachments + commentaires_attachments
|
||||
@pieces_jointes_seen_at = current_instructeur.follows.find_by(dossier: dossier)&.pieces_jointes_seen_at
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue