Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show no information card if consultation and sample test history list is empty #7502

Merged
6 changes: 6 additions & 0 deletions src/Components/Patient/PatientHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1399,6 +1399,9 @@ export const PatientHome = (props: any) => {
<PaginatedList.WhenLoading>
<CircularProgress />
</PaginatedList.WhenLoading>
<PaginatedList.WhenEmpty className="py-2">
<p>No consultation History</p>
</PaginatedList.WhenEmpty>
<PaginatedList.Items<ConsultationModel>>
{(item) => (
<ConsultationCard
Expand Down Expand Up @@ -1432,6 +1435,9 @@ export const PatientHome = (props: any) => {
<PaginatedList.WhenLoading>
<CircularProgress />
</PaginatedList.WhenLoading>
<PaginatedList.WhenEmpty className="py-2">
<p>No Sample Test History</p>
</PaginatedList.WhenEmpty>
<PaginatedList.Items<SampleTestModel>>
{(item) => (
<SampleTestCard
Expand Down
Loading