Skip to content

Commit

Permalink
marine conservation widget: show target only for global view
Browse files Browse the repository at this point in the history
  • Loading branch information
agnlez committed Apr 12, 2024
1 parent 3de7d71 commit 6fda456
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 6fda456

Please sign in to comment.