This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export const JOB_STATUS_MAPPER = {
157157 [ MY_GIGS_JOB_STATUS . APPLIED ] : MY_GIG_PHASE . APPLIED ,
158158 [ MY_GIGS_JOB_STATUS . SKILLS_TEST ] : MY_GIG_PHASE . SKILLS_TEST ,
159159 [ MY_GIGS_JOB_STATUS . PHONE_SCREEN ] : MY_GIG_PHASE . PHONE_SCREEN ,
160- [ MY_GIGS_JOB_STATUS . OPEN ] : MY_GIG_PHASE . SCREEN_PASS ,
160+ [ MY_GIGS_JOB_STATUS . SCREEN_PASS ] : MY_GIG_PHASE . SCREEN_PASS ,
161161 [ MY_GIGS_JOB_STATUS . INTERVIEW ] : MY_GIG_PHASE . INTERVIEW_PROCESS ,
162162 [ MY_GIGS_JOB_STATUS . SELECTED ] : MY_GIG_PHASE . SELECTED ,
163163 [ MY_GIGS_JOB_STATUS . OFFERED ] : MY_GIG_PHASE . OFFERED ,
@@ -239,7 +239,7 @@ export const PHASES_FOR_JOB_STATUS = {
239239 MY_GIG_PHASE . OFFERED ,
240240 MY_GIG_PHASE . PLACED ,
241241 ] ,
242- [ MY_GIGS_JOB_STATUS . OPEN ] : [
242+ [ MY_GIGS_JOB_STATUS . SCREEN_PASS ] : [
243243 MY_GIG_PHASE . APPLIED ,
244244 MY_GIG_PHASE . PHONE_SCREEN ,
245245 MY_GIG_PHASE . SCREEN_PASS ,
Original file line number Diff line number Diff line change 77 JOB_STATUS_MESSAGE_MAPPER ,
88 SORT_STATUS_ORDER ,
99 PHASES_FOR_JOB_STATUS ,
10+ MY_GIG_PHASE ,
1011} from "../constants" ;
1112import data from "../assets/data/my-gigs.json" ;
1213
@@ -54,8 +55,9 @@ const mapMyGigsData = (serverResponse) => {
5455 remark : AVAILABLE_REMARK_BY_JOB_STATUS . includes ( myGig . status )
5556 ? myGig . remark
5657 : "" ,
57- previous : previousStatus ,
58- next : gigPhase ,
58+ previous :
59+ gigPhase == MY_GIG_PHASE . APPLIED ? gigPhase : previousStatus ,
60+ next : gigPhase == MY_GIG_PHASE . APPLIED ? null : gigPhase ,
5961 previousNote : JOB_STATUS_MESSAGE_MAPPER [ previousStatus ] ,
6062 nextNote : JOB_STATUS_MESSAGE_MAPPER [ gigPhase ] ,
6163 status : myGig . status ,
You can’t perform that action at this time.
0 commit comments