Skip to content
Snippets Groups Projects
Commit a53f7744 authored by alexisben's avatar alexisben
Browse files

Fix gallery

parent ddb76e0c
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ class Communication::Block::Template::Gallery < Communication::Block::Template
end
def active_storage_blobs
@active_storage_blobs ||= images_with_data.map { |hash| hash.blob }
@active_storage_blobs ||= images_with_alt.map { |hash| hash.blob }
.compact
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment