Skip to content

Commit

Permalink
fix: default to all geographic zones
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Jun 21, 2024
1 parent a214744 commit 9fb5423
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp-next/components/filters/Regions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,8 @@ export const RegionFilter = (props: Props) => {
if (
context.user &&
context.user.roles &&
context.user.roles.includes('region-france-entiere')
(context.user.roles.includes('region-france-entiere') ||
!context.user.roles.length)
)
return regionFilters;

Expand Down

0 comments on commit 9fb5423

Please sign in to comment.