Skip to content

Commit

Permalink
Merge pull request #255 from Vizzuality/SKY30-365-30-target-marker-is…
Browse files Browse the repository at this point in the history
…-still

[SKY30-365] marine conservation widget: show target only for global view
  • Loading branch information
andresgnlez authored Apr 12, 2024
2 parents 3de7d71 + 6fda456 commit 587c4bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const ProtectionTypesWidget: React.FC<ProtectionTypesWidgetProps> = ({ location
{widgetChartData.map((chartData) => (
<HorizontalBarChart
key={chartData.slug}
showTarget={false}
showTarget={location?.code === 'GLOB'}
className="py-2"
data={chartData}
/>
Expand Down

0 comments on commit 587c4bb

Please sign in to comment.