From 8c6b835d988f413ad5c1e2c264dded08736400b8 Mon Sep 17 00:00:00 2001 From: erinz2020 Date: Fri, 27 Sep 2024 19:16:27 +0000 Subject: [PATCH] add life stage, change life status to living status, encounter status to encounter state --- .../filterFields/MetadataFilter.jsx | 4 ++-- .../ObservationAttributeFilter.jsx | 21 +++++++++++++++++-- frontend/src/locale/de.json | 5 +++-- frontend/src/locale/en.json | 5 +++-- frontend/src/locale/es.json | 5 +++-- frontend/src/locale/fr.json | 5 +++-- frontend/src/locale/it.json | 5 +++-- frontend/src/pages/EncounterSearch.jsx | 2 +- 8 files changed, 37 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/filterFields/MetadataFilter.jsx b/frontend/src/components/filterFields/MetadataFilter.jsx index cab2fc4887..541e902b31 100644 --- a/frontend/src/components/filterFields/MetadataFilter.jsx +++ b/frontend/src/components/filterFields/MetadataFilter.jsx @@ -54,14 +54,14 @@ export default function MetadataFilter({ { + return { + value: item, + label: item, + }; + }) || []; const genusAndSpeciesOptions = data?.siteTaxonomies?.map((item) => { return { @@ -70,13 +77,23 @@ export default function ObservationAttributeFilter({ onChange, data }) { /> +