Skip to content

Commit

Permalink
Merge pull request #702 from UKHSA-Internal/COVP-173_fix_metrics_cate…
Browse files Browse the repository at this point in the history
…gory_search

COVP-173 Fix filtering metrics by category
  • Loading branch information
jaro-m committed Nov 2, 2023
2 parents 548abcd + e449016 commit f5d6566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/MetricDocs/Sections/MetricName.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Metrics: ComponentType<*> = ({ metrics, setUri }) => {
) &&
(
categories
? item.category.toLowerCase() === categories.toLowerCase()
? (item.category != null ? item.category.toLowerCase() === categories.toLowerCase() : false)
: true
) &&
(
Expand Down

0 comments on commit f5d6566

Please sign in to comment.