Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
fix(ui): skip rendering exit status for inactive GradeItem (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
apo5698 committed Feb 15, 2021
1 parent 5019915 commit 7cb9469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/components/grading/v2/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ const Page = (props: { assignmentId: number }) => {
</SyntaxHighlighter>
</Card>
{
attachment?.id
attachment?.id && record.status !== 'Inactive'
? (
<Card style={{ fontSize: '12px' }}>
<pre style={{ whiteSpace: 'pre-wrap' }}>{record.stdout}</pre>
Expand Down

0 comments on commit 7cb9469

Please sign in to comment.