Skip to content

Commit

Permalink
fix abdm records consultation tab check
Browse files Browse the repository at this point in the history
  • Loading branch information
Khavin Shankar authored and Khavin Shankar committed May 20, 2024
1 parent 7cedfee commit 6a89ff4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export const ConsultationDetails = (props: any) => {
return null; // Hide feed tab
}

if (p.text === "ABDM" && !patientData.abha_number) {
if (p.text === "ABDM" && !abhaNumberData?.abha_number) {
return null;
}

Expand Down

0 comments on commit 6a89ff4

Please sign in to comment.