Skip to content

Commit ba209bc

Browse files
committed
updating code to work with test cases
1 parent 00a44c5 commit ba209bc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/RequestDashboard/TasksSection.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { MemoizedTabPanel } from './TabPanel';
1515
import { Refresh } from '@mui/icons-material';
1616
import {
1717
getPatientFirstAndLastName,
18-
getPatientFullName,
1918
getPractitionerFirstAndLastName,
2019
retrieveLaunchContext
2120
} from '../../util/util';
@@ -281,7 +280,7 @@ const TasksSection = props => {
281280
},
282281
{
283282
id: 'patient',
284-
display: `Assign to patient${patient ? ' (' + getPatientFullName(patient) + ')' : ''}`
283+
display: `Assign to patient${patient ? ' (' + getPatientFirstAndLastName(patient) + ')' : ''}`
285284
},
286285
{
287286
id: 'unassign',

0 commit comments

Comments
 (0)