Skip to content

Commit

Permalink
'(fix)O3-2604: add a “refresh data“ button to the test results viewer
Browse files Browse the repository at this point in the history
code refactor
  • Loading branch information
jwnasambu committed Feb 15, 2024
1 parent 83542a7 commit 3190980
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ const ResultsViewer: React.FC<ResultsViewerProps> = ({ patientUuid, basePath, lo
<Switch name="full" text={t('full', 'Full')} disabled={loading} />
</ContentSwitcher>
</div>
<Button kind="ghost" size={isTablet ? 'md' : 'sm'} onClick={() => window.location.reload()}>
{t('refresh', 'Refresh Data')}
</Button>
</div>
</div>
<div className={styles.flex}>
Expand Down
1 change: 1 addition & 0 deletions packages/esm-patient-labs-app/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"recentResults": "Recent Results",
"recentTestResults": "recent test results",
"referenceRange": "Reference range",
"refresh": "Refresh Data",
"removeFromBasket": "Remove from basket",
"resetTreeText": "Reset tree",
"resulted": "Resulted",
Expand Down

0 comments on commit 3190980

Please sign in to comment.