diff --git a/app/client/src/components/shared/PastWaterConditionsFilters.tsx b/app/client/src/components/shared/PastWaterConditionsFilters.tsx index f2d79169f..6aab6a62b 100644 --- a/app/client/src/components/shared/PastWaterConditionsFilters.tsx +++ b/app/client/src/components/shared/PastWaterConditionsFilters.tsx @@ -3,7 +3,6 @@ import { css } from '@emotion/react'; import { useCallback, useContext, useEffect, useMemo, useState } from 'react'; -import { GlossaryTerm } from 'components/shared/GlossaryPanel'; import { HelpTooltip } from 'components/shared/HelpTooltip'; import LoadingSpinner from 'components/shared/LoadingSpinner'; import Slider from 'components/shared/Slider'; @@ -446,30 +445,17 @@ export function PastWaterConditionsFilters({ locationCount++; } }); - const mapping = configFiles.data.characteristicGroupMappings.find( - (mapping) => mapping.label === group.label, - ); - const groupLabelId = `${group.label.replaceAll(' ', '-')}-label`; return ( -
+
+ {group.label} + {locationCount.toLocaleString()} {measurementCount.toLocaleString()} diff --git a/app/client/src/types/index.ts b/app/client/src/types/index.ts index 7b9f5fbaa..cd17cb30f 100644 --- a/app/client/src/types/index.ts +++ b/app/client/src/types/index.ts @@ -148,7 +148,6 @@ export interface ChangeLocationAttributes { export type CharacteristicGroupMappings = { label: string; - glossaryTerm?: string; groupNames: string[]; }[]; diff --git a/app/server/app/public/data/community/characteristicGroupMappings.json b/app/server/app/public/data/community/characteristicGroupMappings.json index 20c556326..86cb6b9d5 100644 --- a/app/server/app/public/data/community/characteristicGroupMappings.json +++ b/app/server/app/public/data/community/characteristicGroupMappings.json @@ -5,8 +5,7 @@ }, { "label": "Algal Toxins", - "groupNames": ["Cyanotoxins, Phytotoxins"], - "glossaryTerm": "Algal Toxins" + "groupNames": ["Cyanotoxins, Phytotoxins"] }, { "label": "Nutrients",