Skip to content

Commit

Permalink
EditDialog: Show climbing presets as default in openclimbing (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvaclavik authored Jan 26, 2025
1 parent a113290 commit 3fa5765
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,23 @@ const StyledListSubheader = styled(ListSubheader)`
}
`;

const emptyOptions = [
'amenity/cafe',
'amenity/restaurant',
'amenity/fast_food',
'amenity/bar',
'shop',
'leisure/park',
'amenity/place_of_worship',
...(PROJECT_ID === 'openclimbing'
const emptyOptions =
PROJECT_ID === 'openclimbing'
? [
'climbing/route_bottom',
'climbing/route',
'climbing/crag',
// 'climbing/area',
]
: []),
];
: [
'amenity/cafe',
'amenity/restaurant',
'amenity/fast_food',
'amenity/bar',
'shop',
'leisure/park',
'amenity/place_of_worship',
];

const Placeholder = styled.span`
color: ${({ theme }) => theme.palette.text.secondary};
Expand Down

0 comments on commit 3fa5765

Please sign in to comment.