diff --git a/frontend/src/containers/map/content/details/tables/global-regional/useColumns.tsx b/frontend/src/containers/map/content/details/tables/global-regional/useColumns.tsx index 51526bec..08e09ad2 100644 --- a/frontend/src/containers/map/content/details/tables/global-regional/useColumns.tsx +++ b/frontend/src/containers/map/content/details/tables/global-regional/useColumns.tsx @@ -143,22 +143,22 @@ const useColumns = () => { return {formattedValue}%; }, }, - { - accessorKey: 'highlyProtectedLfp', - header: ({ column }) => ( - - - Highly Protected LFP - - - ), - cell: ({ row }) => { - const { highlyProtectedLfp: value } = row.original; - if (!value) return <>No data; - const formattedValue = cellFormatter.percentage(value); - return {formattedValue}%; - }, - }, + // { + // accessorKey: 'highlyProtectedLfp', + // header: ({ column }) => ( + // + // + // Highly Protected LFP + // + // + // ), + // cell: ({ row }) => { + // const { highlyProtectedLfp: value } = row.original; + // if (!value) return <>No data; + // const formattedValue = cellFormatter.percentage(value); + // return {formattedValue}%; + // }, + // }, { accessorKey: 'globalContribution', header: ({ column }) => ( diff --git a/frontend/src/containers/map/content/details/tables/national-highseas/useColumns.tsx b/frontend/src/containers/map/content/details/tables/national-highseas/useColumns.tsx index fbe84ca2..7a088364 100644 --- a/frontend/src/containers/map/content/details/tables/national-highseas/useColumns.tsx +++ b/frontend/src/containers/map/content/details/tables/national-highseas/useColumns.tsx @@ -30,7 +30,7 @@ const useColumns = ({ filters, onFiltersChange }: UseColumnsProps) => { protectionStatus: protectionStatusOptions, establishmentStage: establishmentStageOptions, protectionLevel: protectionLevelOptions, - fishingProtectionLevel: fishingProtectionLevelOptions, + // fishingProtectionLevel: fishingProtectionLevelOptions, } = useFiltersOptions(); const tooltips = useTooltips(); @@ -159,27 +159,27 @@ const useColumns = ({ filters, onFiltersChange }: UseColumnsProps) => { return <>{formattedValue}; }, }, - { - accessorKey: 'fishingProtectionLevel', - header: ({ column }) => ( - - - Level of Fishing Protection - - - ), - cell: ({ row }) => { - const { fishingProtectionLevel: value } = row.original; - const formattedValue = - fishingProtectionLevelOptions.find((entry) => value === entry?.value)?.name || 'N/A'; - return <>{formattedValue}; - }, - }, + // { + // accessorKey: 'fishingProtectionLevel', + // header: ({ column }) => ( + // + // + // Level of Fishing Protection + // + // + // ), + // cell: ({ row }) => { + // const { fishingProtectionLevel: value } = row.original; + // const formattedValue = + // fishingProtectionLevelOptions.find((entry) => value === entry?.value)?.name || 'N/A'; + // return <>{formattedValue}; + // }, + // }, ]; }, [ filters, @@ -188,7 +188,7 @@ const useColumns = ({ filters, onFiltersChange }: UseColumnsProps) => { protectionStatusOptions, establishmentStageOptions, protectionLevelOptions, - fishingProtectionLevelOptions, + // fishingProtectionLevelOptions, ]); return columns; diff --git a/frontend/src/containers/map/sidebar/main-panel/details/widgets/index.tsx b/frontend/src/containers/map/sidebar/main-panel/details/widgets/index.tsx index 502abf7d..6708e7fb 100644 --- a/frontend/src/containers/map/sidebar/main-panel/details/widgets/index.tsx +++ b/frontend/src/containers/map/sidebar/main-panel/details/widgets/index.tsx @@ -5,7 +5,7 @@ import { cn } from '@/lib/classnames'; import { useGetLocations } from '@/types/generated/location'; // import EstablishmentStagesWidget from './establishment-stages'; -import FishingProtectionWidget from './fishing-protection'; +// import FishingProtectionWidget from './fishing-protection'; import HabitatWidget from './habitat'; import MarineConservationWidget from './marine-conservation'; import ProtectionTypesWidget from './protection-types'; @@ -32,7 +32,7 @@ const DetailsWidgets: React.FC = () => { > - + {/* */} {/* */}