app/views/lookbook/previews/group.html.erb in lookbook-2.0.5 vs app/views/lookbook/previews/group.html.erb in lookbook-2.1.0

- old
+ new

@@ -1,5 +1,6 @@ <% if scenarios.many? %> + <% scenarios = scenarios.filter(&:visible?) %> <%# Render a group of scenarios %> <% scenarios.each do |scenario| %> <div style="margin-bottom: 30px !important; display: block !important;"> <h6 style="all: unset; display: block; color: #555; font-family: sans-serif; font-size: 14px; margin-top: 0; margin-bottom: 10px;"> <%= scenario.label %> \ No newline at end of file