Skip to content

Commit

Permalink
Added No records found in ABDM and button placement adjusted in Inves…
Browse files Browse the repository at this point in the history
…tigation Reports Page (#8999)
  • Loading branch information
nithish1018 authored Nov 6, 2024
1 parent 9d19543 commit acfc8a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@
"no_policy_added": "No Insurance Policy Added",
"no_policy_found": "No Insurance Policy Found for this Patient",
"no_presets": "No Presets",
"no_records_found": "No records found",
"no_records_found": "No Records Found",
"no_remarks": "No remarks",
"no_results_found": "No Results Found",
"no_staff": "No staff found",
Expand Down
7 changes: 7 additions & 0 deletions src/components/ABDM/ABDMFacilityRecords.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,13 @@ export default function ABDMFacilityRecords({ facilityId }: IProps) {
</table>
</div>
</div>
{consentsResult?.results.length === 0 && (
<div className="flex min-h-[12rem] items-center justify-center p-4">
<p className="text-2xl font-bold text-secondary-600">
{t("no_records_found")}
</p>
</div>
)}
</div>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/components/Facility/Investigations/Reports/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ const InvestigationReports = ({ id }: any) => {
<ButtonV2
onClick={() => handleSessionPage("PREV")}
disabled={nextSessionDisabled}
className="ml-3"
>
{isLoading.tableData ? "Loading..." : t("prev_sessions")}
</ButtonV2>
Expand Down

0 comments on commit acfc8a0

Please sign in to comment.