diff --git a/src/constants.js b/src/constants.js index 91537ea..b47d9ac 100644 --- a/src/constants.js +++ b/src/constants.js @@ -41,7 +41,8 @@ module.exports = { CHALLENGE_ROLES: { COPILOT: 'Copilot', MANAGER: 'Manager', - SUBMITTER: 'Submitter' + SUBMITTER: 'Submitter', + CLIENT_MANAGER: 'Client Manager' }, CHALLENGE_STATUSES: { NEW: 'New', diff --git a/src/services/vanilla.js b/src/services/vanilla.js index bb86588..67eb8b9 100644 --- a/src/services/vanilla.js +++ b/src/services/vanilla.js @@ -362,7 +362,8 @@ function shouldWatchCategories (projectRole, challengeRoles) { // Project Copilots / Challenge Copilots and Submitters return (projectRole === constants.TOPCODER.PROJECT_ROLES.COPILOT || (_.isArray(challengeRoles) && (_.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.COPILOT) || - _.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.SUBMITTER))) + _.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.SUBMITTER) || + _.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.CLIENT_MANAGER))) ) }