diff --git a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx index 656cf1161..cbfa2ec11 100644 --- a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx +++ b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx @@ -66,19 +66,20 @@ export function SubmissionDetails({ return (
- {grading && } {separator} {(containerName || problemName) && ( - <> - {' '} - {separator} {containerName && <>{containerName} / } +

+ {containerName && <>{containerName} / } {problemName && !!problemUrl ? ( {constructProblemName(problemName, problemAlias)} ) : ( constructProblemName(problemName, problemAlias) )} - - )}{' '} - {separator} {getGradingLanguageName(gradingLanguage)} {separator} +

+ )} +

+ {grading && } {separator} + {separator} {getGradingLanguageName(gradingLanguage)} {separator} +

); };