Client - minor fix on notes display

This commit is contained in:
Sam
2021-07-14 16:06:07 +02:00
parent c82ad37270
commit ea27078a0d
7 changed files with 8 additions and 8 deletions

View File

@ -9,7 +9,7 @@ export default function WorkoutNotes(props) {
<div className="card-body">
Notes
<div className="workout-notes">
{notes ? notes : t('workouts:No notes')}
{notes && notes !== '' ? notes : t('workouts:No notes')}
</div>
</div>
</div>