Skip to content

Conversation

@hentrymartin
Copy link
Collaborator

What's in this PR?

  • Remove the phase name which is already added, this way there is no way duplicate configuration can be added to a same phase.

Ticket link - https://topcoder.atlassian.net/browse/PM-2372

)

// Exclude phases already assigned to other reviewers, except the currently selected phase
if (assignedPhaseIds.has(phase.phaseId || phase.id) && !isCurrentlySelected) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[⚠️ correctness]
The logic here excludes phases already assigned to other reviewers, which is correct. However, consider adding a check to ensure that phase.phaseId and phase.id are not both undefined, as this could lead to unexpected behavior if both are missing.

@kkartunov kkartunov merged commit 8fe72fb into develop Nov 5, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants