diff --git a/frontend/src/containers/map/content/details/tables/global-regional/hooks.tsx b/frontend/src/containers/map/content/details/tables/global-regional/hooks.tsx index 06416c2a..08344ab2 100644 --- a/frontend/src/containers/map/content/details/tables/global-regional/hooks.tsx +++ b/frontend/src/containers/map/content/details/tables/global-regional/hooks.tsx @@ -272,6 +272,10 @@ export const useColumns = ( const { location } = row.original; const value = location.mpaa_protection_level_stats.percentage; + if (value === null || value === undefined) { + return {t('no-data-available')}; + } + const formattedValue = cellFormatter.percentage(locale, value ?? 0); return (