Skip to content

Commit

Permalink
(fix)o3-3195: Rendering logic for the weight tile
Browse files Browse the repository at this point in the history
  • Loading branch information
jona42-ui committed May 15, 2024
1 parent 3b13011 commit f7c46d0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const WeightTile: React.FC<WeightTileInterface> = ({ patientUuid }) => {
if (isLoading) {
return <InlineLoading role="progressbar" description={`${t('loading', 'Loading')} ...`} />;
}
if (biometrics?.length) {
if (weightData?.length) {
return (
<div>
<p className={styles.label}>{t('weight', 'Weight')}</p>
Expand Down

0 comments on commit f7c46d0

Please sign in to comment.