Skip to content

Commit

Permalink
minor ui change
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar committed May 20, 2024
1 parent df053ef commit 68a3aa6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/Components/ABDM/FetchRecordsModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,19 @@ export default function FetchRecordsModal({ patient, show, onClose }: IProps) {
});

return (
<DialogModal title="Fetch Records over ABDM" show={show} onClose={onClose}>
<DialogModal
className="!max-w-xl"
title="Fetch Records over ABDM"
show={show}
onClose={onClose}
>
{["unsubscribed", "subscribed_on_other_device"].includes(
notificationSubscriptionState,
) && (
<p className="my-4 text-sm text-danger-600">
<CareIcon icon="l-ban" className="h-4 w-4" /> Notifications needs to
be enabled on this device to verify the patient.
<p className="my-4 text-sm text-warning-600">
<CareIcon icon="l-exclamation-triangle" className="h-4 w-4" />{" "}
Notifications needs to be enabled on this device to verify the
patient.
</p>
)}

Expand Down

0 comments on commit 68a3aa6

Please sign in to comment.