Skip to content

Commit

Permalink
Merge pull request #290 from Vizzuality/SKY30-435-mpa-column-value-mi…
Browse files Browse the repository at this point in the history
…ssing-in-child-mp-atlas-rows

Display fallback for the “Type” column in the “Areas Beyond National Jurisdiction” table
  • Loading branch information
clementprdhomme authored Aug 16, 2024
2 parents fd2d2ee + 094e6d0 commit 69b91fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ const useColumns = ({ filters, onFiltersChange }: UseColumnsProps) => {
const formattedValue = protectionStatusOptions.find(
(entry) => value === entry?.value
)?.name;
return <>{formattedValue}</>;
return <>{formattedValue ?? '-'}</>;
},
},
{
Expand Down

0 comments on commit 69b91fb

Please sign in to comment.