Skip to content

Commit

Permalink
(fix) Validating label (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldkibet authored Nov 7, 2023
1 parent 65f3630 commit 577cd27
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,15 @@ const CarePrograms: React.FC<CareProgramsProps> = ({ patientUuid }) => {

return (
<Tile>
<CardHeader title={t('carePrograms', 'Care Programs')}>{isValidating && <h2>Loading...</h2>}</CardHeader>
<CardHeader title={t('carePrograms', 'Care Programs')}>
{isValidating && (
<InlineLoading
status="active"
iconDescription={t('validating', 'Loading')}
description={t('validating', 'Validating data...')}
/>
)}
</CardHeader>
<DataTable size={isTablet ? 'lg' : 'sm'} useZebraStyles rows={rows} headers={headers}>
{({ rows, headers, getTableProps, getHeaderProps, getRowProps }) => (
<TableContainer>
Expand Down

0 comments on commit 577cd27

Please sign in to comment.