Skip to content

Commit

Permalink
Added extra filters to u=u dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrianbet committed Mar 21, 2024
1 parent d90fcc6 commit dc92767
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/views/CT/ViralLoad/ViralLoadCategorizationU_U.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ViralLoadCategorizationU_U = () => {
legend: { align: 'left', verticalAlign: 'top', y: 0, x: 80 },
series: [
{
name: 'Percentage of Patients',
name: 'Number of Patients',
data: [
{
name: '< 50 COPIES',
Expand Down
18 changes: 13 additions & 5 deletions src/views/Shared/UniversalFilter.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState, useCallback } from 'react';
import React, { useEffect, useState, useCallback } from 'react';
import { BrowserRouter as Router, Link, useLocation } from 'react-router-dom';
import { useHistory, useParams } from 'react-router-dom';
import moment from 'moment';
Expand Down Expand Up @@ -211,12 +211,20 @@ const UniversalFilter = () => {
setPbfws(
[
{
val: 'Known Positives',
txt: 'Pregnant & Breastfeeding Known Positives',
val: 'Known Positives|Yes',
txt: 'Pregnant Known Positives',
},
{
val: 'New Positives',
txt: 'Pregnant & Breastfeeding New Positives',
val: 'Known Positives|No',
txt: 'Breastfeeding Known Positives',
},
{
val: 'New Positives|Yes',
txt: 'Pregnant New Positives',
},
{
val: 'New Positives|No',
txt: 'Breastfeeding New Positives',
},
].map((c) => ({ value: c.val, key: c.val, text: c.txt }))
);
Expand Down

0 comments on commit dc92767

Please sign in to comment.