From b1ef4befd5980cf3f91bc8476c5d2e65d1211210 Mon Sep 17 00:00:00 2001 From: Declan Joseph Date: Fri, 17 Jul 2026 23:47:48 +0300 Subject: [PATCH] re_enable-sources-and-filters --- .../map/layers/filters/filterList.tsx | 18 +++++++++--------- src/UI/components/shared/navbar.tsx | 4 ++-- src/UI/state/map/utils/countrySpeciesLists.ts | 4 +++- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/UI/components/map/layers/filters/filterList.tsx b/src/UI/components/map/layers/filters/filterList.tsx index 435df0e71..23746fe3d 100644 --- a/src/UI/components/map/layers/filters/filterList.tsx +++ b/src/UI/components/map/layers/filters/filterList.tsx @@ -121,7 +121,7 @@ export const FilterList = ({ */} {/* ================= Season ================= */} - {/* + , displayName: t('filterList.display.rainy').toUpperCase(), }, @@ -150,7 +150,7 @@ export const FilterList = ({ ]} hasEmpty={false} /> - */} + {/* ================= Insecticide ================= */} @@ -200,7 +200,7 @@ export const FilterList = ({ {/* ================= Abundance ================= */} - {/* + - */} + {/* ================= Bionomics ================= */} @@ -227,7 +227,7 @@ export const FilterList = ({ {/* ================= Adult ================= */} - {/* + - */} + {/* ================= Larval ================= */} - {/* + - */} + {/* ================= Time ================= */} diff --git a/src/UI/components/shared/navbar.tsx b/src/UI/components/shared/navbar.tsx index 1a7028eba..cfd95ae01 100644 --- a/src/UI/components/shared/navbar.tsx +++ b/src/UI/components/shared/navbar.tsx @@ -33,8 +33,8 @@ export default function NavBar() { const moreOptions = [ { text: t('species'), url: '/species' }, - //{ text: t('source'), url: '/sources' }, - //{ text: t('addSource'), url: '/new_source', role: 'uploader' }, + { text: t('source'), url: '/sources' }, + { text: t('addSource'), url: '/new_source', role: 'uploader' }, { text: t('datasets'), url: '/uploaded-dataset/list' }, ]; if ( diff --git a/src/UI/state/map/utils/countrySpeciesLists.ts b/src/UI/state/map/utils/countrySpeciesLists.ts index 0fc816258..e3d477938 100644 --- a/src/UI/state/map/utils/countrySpeciesLists.ts +++ b/src/UI/state/map/utils/countrySpeciesLists.ts @@ -10,7 +10,7 @@ export const countryList = [ 'Central African Republic', 'Chad', 'Comoros', - "Cote d'Ivoire", + 'Cote dIvoire', 'Dr Congo', 'Congo', 'Djibouti', @@ -33,11 +33,13 @@ export const countryList = [ 'Mali', 'Mauritania', 'Mauritius', + 'Mayotte', 'Morocco', 'Mozambique', 'Namibia', 'Niger', 'Nigeria', + 'Reunion', 'Rwanda', 'Sao Tome and Principe', 'Senegal',