Skip to content
Snippets Groups Projects
Commit 74d871c6 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix empty galleries

parent d384c144
No related branches found
No related tags found
No related merge requests found
......@@ -4,4 +4,7 @@ class Communication::Block::Template::Gallery < Communication::Block::Template::
has_layouts [:grid, :carousel]
has_component :description, :rich_text
def empty?
elements.none?
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