diff --git a/frontend/src/PagesAdmin/RecruitmentGangAllApplicantsAdminPage/RecruitmentGangAllApplicantsAdminPage.tsx b/frontend/src/PagesAdmin/RecruitmentGangAllApplicantsAdminPage/RecruitmentGangAllApplicantsAdminPage.tsx index 1dfb3a1dd..57d8a87e3 100644 --- a/frontend/src/PagesAdmin/RecruitmentGangAllApplicantsAdminPage/RecruitmentGangAllApplicantsAdminPage.tsx +++ b/frontend/src/PagesAdmin/RecruitmentGangAllApplicantsAdminPage/RecruitmentGangAllApplicantsAdminPage.tsx @@ -12,6 +12,7 @@ import { STATUS } from '~/http_status_codes'; import { KEY } from '~/i18n/constants'; import { reverse } from '~/named-urls'; import { ROUTES } from '~/routes'; +import { RecruitmentPriorityChoicesMapping, RecruitmentStatusChoicesMapping } from '~/types'; import { dbT } from '~/utils'; import { AdminPageLayout } from '../AdminPageLayout/AdminPageLayout'; import styles from './RecruitmentGangAllApplicantsAdminPage.module.scss'; @@ -64,7 +65,6 @@ export function RecruitmentGangAllApplicantsAdminPage() { setRecruitment(resp.data); }) .catch((data) => { - // TODO add error pop up message? if (data.request.status === STATUS.HTTP_404_NOT_FOUND) { navigate({ url: ROUTES.frontend.admin_recruitment }); } @@ -81,6 +81,7 @@ export function RecruitmentGangAllApplicantsAdminPage() { { content: t(KEY.recruitment_position), sortable: true }, { content: t(KEY.recruitment_interview_time), sortable: true }, { content: t(KEY.recruitment_interview_location), sortable: true }, + { content: t(KEY.recruitment_recruiter_priority), sortable: true }, { content: t(KEY.recruitment_recruiter_status), sortable: true }, ]; @@ -106,7 +107,8 @@ export function RecruitmentGangAllApplicantsAdminPage() { { content: {dbT(application.recruitment_position, 'name')} }, application.interview?.interview_time, application.interview?.interview_location, - application.recruiter_status, + RecruitmentPriorityChoicesMapping[application.recruiter_priority as number], + RecruitmentStatusChoicesMapping[application.recruiter_status as number], ], }; });