diff --git a/frontend/src/components/ExerciseList/ExerciseCard.tsx b/frontend/src/components/ExerciseList/ExerciseCard.tsx index aa81d1b91503662dd231f403a29adfae166cc896..07c6c68f7fccb563a5ae4b266d8b8e596b3f57b7 100644 --- a/frontend/src/components/ExerciseList/ExerciseCard.tsx +++ b/frontend/src/components/ExerciseList/ExerciseCard.tsx @@ -47,7 +47,7 @@ const ExerciseCard: FC<ExerciseCardProps> = ({ <> {!exercise.running && !exercise.finished && ( <Button icon='play' {...details.startButtonProps}> - Start + {exercise.exerciseStart ? 'Resume' : 'Start'} </Button> )} {exercise.running && ( @@ -60,7 +60,7 @@ const ExerciseCard: FC<ExerciseCardProps> = ({ Remove </Button> )} - {(exercise.running || exercise.finished) && ( + {exercise.exerciseStart && ( <a href={downloadLogUrl(host || '', exercise.id)} target='_blank' @@ -73,6 +73,7 @@ const ExerciseCard: FC<ExerciseCardProps> = ({ ), [ details, + exercise.exerciseStart, exercise.finished, exercise.id, exercise.running,