Skip to content

Commit

Permalink
O3-2684, translate queue statuses
Browse files Browse the repository at this point in the history
  • Loading branch information
cioan committed Jan 8, 2024
1 parent 90e2693 commit 17f9f97
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ const PatientInfo: React.FC<PatientInfoProps> = ({ patient }) => {
const priority = queueEntry?.priority ?? '';

const getServiceString = useCallback(() => {
if (queueEntry?.status) {
return `${queueEntry.status} - ${queueEntry.service}`;
if (queueEntry?.status && queueEntry.service) {
return `${t(queueEntry.status)} - ${t(queueEntry.service)}`;
} else {
return '';
}
Expand Down

0 comments on commit 17f9f97

Please sign in to comment.