diff --git a/config/default.js b/config/default.js index bbb7731670..bbf8b30a55 100644 --- a/config/default.js +++ b/config/default.js @@ -256,6 +256,7 @@ module.exports = { AUTH_SECRET: 'mysecret', VALID_ISSUERS: '["https://api.topcoder-dev.com", "https://api.topcoder.com", "https://topcoder-dev.auth0.com/", "https://auth.topcoder-dev.com/","https://topcoder.auth0.com/","https://auth.topcoder.com/"]', }, + CHAMELEON_VERIFICATION_SECRET: 'mysecret', }, GROWSURF_CAMPAIGN_ID: '', GROWSURF_COOKIE: '_tc_gigs_ref', diff --git a/src/shared/components/Gigs/GigApply/index.jsx b/src/shared/components/Gigs/GigApply/index.jsx index 3c801ae2d2..bcd84a6782 100644 --- a/src/shared/components/Gigs/GigApply/index.jsx +++ b/src/shared/components/Gigs/GigApply/index.jsx @@ -110,7 +110,7 @@ export default function GigApply(props) { ) : ( GO TO GIGS LIST - CHECK GIG APPLICATION STATUS + CHECK GIG APPLICATION STATUS ) } diff --git a/src/shared/containers/Gigs/RecruitCRMJobs.jsx b/src/shared/containers/Gigs/RecruitCRMJobs.jsx index 14afad81dc..53ca6460cf 100644 --- a/src/shared/containers/Gigs/RecruitCRMJobs.jsx +++ b/src/shared/containers/Gigs/RecruitCRMJobs.jsx @@ -179,7 +179,7 @@ class RecruitCRMJobsContainer extends React.Component { // build current locations dropdown based on all data // and filter by selected location jobsToDisplay = _.filter(jobs, (job) => { - const country = job.country === 'Anywhere' || job.country === 'Any' ? 'All' : job.country; + const country = !job.country || job.country === 'Anywhere' || job.country === 'Any' ? 'All' : job.country; // build dropdown const found = _.findIndex(locations, { label: country }); if (found === -1) { @@ -202,7 +202,7 @@ class RecruitCRMJobsContainer extends React.Component { // eslint-disable-next-line no-underscore-dangle const _term = term.toLowerCase(); // name search - if (job.name.toLowerCase().includes(_term)) return true; + if (job && job.name && job.name.toLowerCase().includes(_term)) return true; // skills search const skills = _.find(job.custom_fields, ['field_name', 'Technologies Required']); if (skills && skills.value && skills.value.toLowerCase().includes(_term)) return true;