Skip to content

Commit fbd2126

Browse files
committed
Issues-229: added Submitter role
1 parent dc50e9b commit fbd2126

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/vanilla.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ function shouldWatchCategories (projectRole, challengeRoles) {
335335
return true
336336
}
337337

338-
// Project Copilots / Challenge Copilots
338+
// Project Copilots / Challenge Copilots and Submitters
339339
return (projectRole === constants.TOPCODER.PROJECT_ROLES.COPILOT ||
340340
(_.isArray(challengeRoles) && (_.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.COPILOT) ||
341341
_.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.SUBMITTER)))
@@ -354,7 +354,7 @@ function shouldFollowCategories (projectRole, challengeRoles) {
354354
return true
355355
}
356356

357-
// Project Copilots or Managers / Challenge Copilots and Managers
357+
// Project Copilots or Managers / Challenge Copilots, Managers and Submitters
358358
return projectRole === constants.TOPCODER.PROJECT_ROLES.COPILOT ||
359359
projectRole === constants.TOPCODER.PROJECT_ROLES.MANAGER ||
360360
(_.isArray(challengeRoles) && (_.includes(challengeRoles, constants.TOPCODER.CHALLENGE_ROLES.COPILOT) ||

0 commit comments

Comments
 (0)