From 0c6e644c06fdbf72f62d3ff354368daa53d25fce Mon Sep 17 00:00:00 2001 From: alezin Date: Wed, 30 Jun 2021 03:01:37 +0300 Subject: [PATCH] bugfix: Added missing gig statuses. --- src/constants/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/constants/index.js b/src/constants/index.js index 978354e..cf1c1ff 100644 --- a/src/constants/index.js +++ b/src/constants/index.js @@ -149,6 +149,8 @@ export const MY_GIGS_JOB_STATUS = { CLIENT_REJECTED_INTERVIEW: "client rejected - interview", CLIENT_REJECTED_SCREENING: "client rejected - screening", JOB_CLOSED: "job-closed", + TOPCODER_REJECTED: "topcoder-rejected", + CANCELLED: "cancelled", }; /** * Maps the status from API to gig status @@ -167,6 +169,8 @@ export const JOB_STATUS_MAPPER = { [MY_GIGS_JOB_STATUS.CLIENT_REJECTED_INTERVIEW]: MY_GIG_PHASE.NOT_SELECTED, [MY_GIGS_JOB_STATUS.CLIENT_REJECTED_SCREENING]: MY_GIG_PHASE.NOT_SELECTED, [MY_GIGS_JOB_STATUS.JOB_CLOSED]: MY_GIG_PHASE.JOB_CLOSED, + [MY_GIGS_JOB_STATUS.TOPCODER_REJECTED]: MY_GIG_PHASE.NOT_SELECTED, + [MY_GIGS_JOB_STATUS.CANCELLED]: MY_GIG_PHASE.NOT_SELECTED, }; /** @@ -304,6 +308,8 @@ export const PHASES_FOR_JOB_STATUS = { MY_GIG_PHASE.NOT_SELECTED, ], [MY_GIGS_JOB_STATUS.JOB_CLOSED]: [MY_GIG_PHASE.JOB_CLOSED], + [MY_GIGS_JOB_STATUS.TOPCODER_REJECTED]: [MY_GIG_PHASE.NOT_SELECTED], + [MY_GIGS_JOB_STATUS.CANCELLED]: [MY_GIG_PHASE.NOT_SELECTED], }; /** pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy