Skip to content

Conversation

@Jakemunro
Copy link

Changes

  • Added flexibility for users who mentor in multiple programs or need to drop shifts for multiple programs

@Jakemunro Jakemunro added the Code quality Improvement to code quality label Aug 20, 2024
Copy link

@FrancisBourgouin FrancisBourgouin left a comment

Choose a reason for hiding this comment

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

One small thing, rest seems fine!


// If the member doesn't have any of the allowed roles
if (!userRole) {
if (userRoles.size === 0) {

Choose a reason for hiding this comment

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

That should be .length instead of .size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Code quality Improvement to code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants