Skip to content

Commit

Permalink
Update sample type condition
Browse files Browse the repository at this point in the history
  • Loading branch information
JavidSumra committed Nov 5, 2024
1 parent 3337586 commit 97bb3f6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/components/Patient/SampleTestCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,7 @@ export const SampleTestCard = (props: SampleDetailsProps) => {
Sample Type{" "}
</div>
<div className="mt-1 overflow-x-scroll whitespace-normal break-words text-sm font-medium capitalize leading-5">
{(itemData.sample_type !== "OTHER TYPE"
? itemData.sample_type
: itemData.sample_type_other
)?.toLowerCase()}
{itemData.sample_type?.toLowerCase()}
</div>
</div>
</div>
Expand Down

0 comments on commit 97bb3f6

Please sign in to comment.