Skip to content
This repository has been archived by the owner on May 28, 2018. It is now read-only.

Commit

Permalink
Fix display for last PEPITE id (29th)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbrohee committed Jul 21, 2017
1 parent c5800b8 commit eb3c13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/admin/ApplicationRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ApplicationRow = ({ application, pepites }) => {
const pepiteName = (application.pepite &&
application.pepite.pepite &&
application.pepite.pepite != '0' &&
Number(application.pepite.pepite) < pepites.length) ?
Number(application.pepite.pepite) <= pepites.length) ?
pepites[Number(application.pepite.pepite) - 1].name : '-'

const establishmentName = (application.career && application.career.diploma) ?
Expand Down

0 comments on commit eb3c13e

Please sign in to comment.