Skip to content

Commit

Permalink
fixes #5758 (#5759)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jun 23, 2023
1 parent 8cf274f commit 2f7c6bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Components/Patient/SampleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ export const SampleDetails = ({ id }: SampleDetailsProps) => {
<span className="font-semibold leading-relaxed">
Countries travelled:{" "}
</span>
{JSON.parse(sampleDetails.patient_travel_history).join(", ")}
{sampleDetails.patient_travel_history.join(", ")}
</div>
)}
{sampleDetails.sample_type && (
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Patient/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export interface SampleTestModel {
patient_has_sari?: boolean;
patient_has_confirmed_contact?: boolean;
patient_has_suspected_contact?: boolean;
patient_travel_history?: string;
patient_travel_history?: string[];
facility?: number;
facility_object?: {
id: number;
Expand Down

0 comments on commit 2f7c6bd

Please sign in to comment.