diff --git a/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb b/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb index cd5d6cf2bd115..111f070c19fb7 100644 --- a/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb +++ b/decidim-proposals/app/views/decidim/proposals/proposals/index.html.erb @@ -29,7 +29,7 @@ <%= render layout: "layouts/decidim/shared/layout_two_col" do %> - <% if Decidim::Map.available?(:geocoding, :dynamic) && component_settings.geocoding_enabled? %> + <% if Decidim::Map.available?(:geocoding, :dynamic) && component_settings.geocoding_enabled? && !(ENV["PROPOSAL_COMPONENTS_WITHOUT_MAPS"] || "").split(',').include?(current_component.id.to_s) %>
<%= dynamic_map_for proposals_data_for_map(@all_geocoded_proposals) do %>