From d6de20430deed44e87f988065a0a85d6326c1d66 Mon Sep 17 00:00:00 2001 From: Ashar Fuadi Date: Mon, 26 Aug 2024 16:08:12 +0700 Subject: [PATCH] client: dont show OO grading language in submission details --- .../SubmissionDetails/Programming/SubmissionDetails.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx index 0575f8983..87761bb97 100644 --- a/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx +++ b/judgels-client/src/components/SubmissionDetails/Programming/SubmissionDetails.jsx @@ -82,7 +82,11 @@ export function SubmissionDetails({ )}

{grading && } {separator} {separator}{' '} - {getGradingLanguageName(gradingLanguage)} {separator}{' '} + {!isOutputOnly(gradingEngine) && ( + <> + {getGradingLanguageName(gradingLanguage)} {separator}{' '} + + )}