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
|
@ -5,4 +5,4 @@
|
|||
.fr-container
|
||||
.gallery.gallery-pieces-jointes{ "data-controller": "lightbox" }
|
||||
- @gallery_attachments.each do |attachment|
|
||||
= render Attachment::GalleryItemComponent.new(attachment:)
|
||||
= render Attachment::GalleryItemComponent.new(attachment:, seen_at: @pieces_jointes_seen_at)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue