Skip to content

Commit

Permalink
Updated displaying no of copies for transcript on student side
Browse files Browse the repository at this point in the history
  • Loading branch information
Smrithi23 committed Sep 30, 2020
1 parent df489f6 commit e20a91d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion public/src/student/status/status.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@ export default class Status extends React.Component {
? <>{cert_mapping[data.type]} ({data.course_code})</>
: <>
{cert_mapping[data.type] === "Transcript"
? <>{cert_mapping[data.type]} ({data.no_copies})</>
? <>
{<>
{data.no_copies
? <>{cert_mapping[data.type]} ({data.no_copies})</>
: cert_mapping[data.type]
}
</>}
</>
: <>{cert_mapping[data.type]}</>
}
</>
Expand Down

0 comments on commit e20a91d

Please sign in to comment.