Skip to content

Commit

Permalink
Do not render map on proposal index for specific components
Browse files Browse the repository at this point in the history
  • Loading branch information
fblupi committed Dec 2, 2024
1 parent f3b1252 commit 93f9e19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) %>
<div class="proposal-list__map">
<%= dynamic_map_for proposals_data_for_map(@all_geocoded_proposals) do %>
<template id="marker-popup">
Expand Down

0 comments on commit 93f9e19

Please sign in to comment.