Skip to content

Commit

Permalink
removed extra button and rewrired fetch records
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed Mar 8, 2024
1 parent 6386016 commit e49951f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions src/Components/Patient/PatientInfoCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ export default function PatientInfoCard(props: {
className="dropdown-item-primary pointer-events-auto m-2 flex cursor-pointer items-center justify-start gap-2 rounded border-0 p-2 text-sm font-normal transition-all duration-200 ease-in-out"
onClick={() => {
close();
setShowABHAProfile(true);
setShowFetchABDMRecords(true);
triggerGoal("Patient Card Button Clicked", {
buttonName: "Fetch Records over ABDM",
consultationId: consultation?.id,
Expand All @@ -689,18 +689,6 @@ export default function PatientInfoCard(props: {
<CareIcon className="care-l-user-square text-lg text-primary-500" />
<span>Fetch Records over ABDM</span>
</div>
<div
className="dropdown-item-primary pointer-events-auto m-2 flex cursor-pointer items-center justify-start gap-2 rounded border-0 p-2 text-sm font-normal transition-all duration-200 ease-in-out"
onClick={() => {
triggerGoal("Patient Card Button Clicked", {
buttonName: "Link Care Context",
consultationId: consultation?.id,
userId: authUser?.id,
});
close();
setShowFetchABDMRecords(true);
}}
></div>
</>
)}
</Menu.Item>
Expand Down

0 comments on commit e49951f

Please sign in to comment.