diff --git a/src/components/SemesterAdministration/SemesterAdministration.tsx b/src/components/SemesterAdministration/SemesterAdministration.tsx index 6018e455..61d97e2c 100644 --- a/src/components/SemesterAdministration/SemesterAdministration.tsx +++ b/src/components/SemesterAdministration/SemesterAdministration.tsx @@ -159,13 +159,11 @@ export const SemesterAdministration: FC = () => { - {problem.num_corrected_solutions === problem.num_solutions ? ( - <>{`Opravené (${problem.num_solutions})`} - ) : ( - <> - {problem.num_corrected_solutions}/{problem.num_solutions} - - )} + + {problem.num_corrected_solutions === problem.num_solutions + ? `Opravené (${problem.num_solutions})` + : `${problem.num_corrected_solutions}/${problem.num_solutions}`} + {problem.solution_pdf ? (