app/cells/decidim/meetings/content_blocks/upcoming_meetings/show.erb in decidim-meetings-0.26.8 vs app/cells/decidim/meetings/content_blocks/upcoming_meetings/show.erb in decidim-meetings-0.26.9
- old
+ new
@@ -6,10 +6,10 @@
<% upcoming_meetings.first(4).each do |event| %>
<%= card_for event, size: :s %>
<% end %>
</div>
<div class="columns medium-6">
- <% if geolocation_enabled? %>
+ <% if show_map? %>
<%= cell "decidim/meetings/meetings_map", upcoming_meetings %>
<% else %>
<% (upcoming_meetings - upcoming_meetings.first(4)).each do |event| %>
<%= card_for event, size: :s %>
<% end %>