Skip to content

Commit

Permalink
non custom wdpas name consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
anamontiaga committed Sep 25, 2023
1 parent 938b706 commit 1ef5a6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export const WDPACategories = ({ onContinue }): JSX.Element => {
if (!wdpaData) return [];

return wdpaData.map((w) => ({
label: w.kind === 'global' ? `IUCN ${w.name}` : `${w.name}`,
label: w.name,
value: w.id,
kind: w.kind,
selected: w.selected,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const WDPAThreshold = ({ onGoBack }): JSX.Element => {
if (!wdpaData) return [];

return wdpaData.map((w) => ({
label: w.kind === 'global' ? `IUCN ${w.name}` : `${w.name}`,
label: w.name,
value: w.id,
kind: w.kind,
selected: w.selected,
Expand Down

0 comments on commit 1ef5a6f

Please sign in to comment.