-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make status display actually human-readable statuses #1581
base: master
Are you sure you want to change the base?
Make status display actually human-readable statuses #1581
Conversation
…d rejected, called and accepted ...) instead of is's(0,1,2,3) in both RecruitmentGangAllApplicantsAdminPage and in RecruitmentPositionOverviewPage with translations Related to #1431
@@ -84,6 +84,19 @@ export function RecruitmentGangAllApplicantsAdminPage() { | |||
{ content: t(KEY.recruitment_recruiter_status), sortable: true }, | |||
]; | |||
|
|||
const getStatusOption = (id: number | undefined): string => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gjerne flytt til en egen globalt tilgjengelig funksjon/hook. Og bruk RecruitmentStatusChoices
konstantene istedenfor tall
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Til det siste; kan være verdt å vite at det finnes et issue på å hente choices fra backend og implementere de for dette formålet: #1575
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bruker RecruitmentStatusChoices nå:) @robines
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM :))
RecruitmentGangAllApplicantsAdminPage:
RecruitmentPositionOverviewPage:
Før:
Etter:
Related to #1431
Closes #1431