Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FW-5212 Add fix for join request approval as language admin #195

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

NolanVH
Copy link
Contributor

@NolanVH NolanVH commented Nov 20, 2023

Description of Changes

This change fixes the bug with join request approval as language admin. Note that this is a temporary fix and the permanent fix will be added in FW-5218 when the constants and display values are separated.

Checklist

  • README / documentation has been updated if needed
  • PR title / commit messages contain Jira ticket number if applicable
  • Tests have been updated / created if applicable

Reviewers Should Do The Following:

  • Review the changes here
  • Pull the branch and test locally

Additional Notes

N/A

@NolanVH NolanVH requested a review from gmcauliffe November 20, 2023 20:31
@@ -65,7 +65,9 @@ function DashboardJoinCardPresentation({
<select
id="role-to-assign"
name="role-to-assign"
onChange={(e) => setSelectedRole(e.target.value)}
onChange={(e) =>
setSelectedRole(e.target.value.split(' ').join('_'))
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks good for now.
In the long term we should be moving towards the discussed solution of having a mapping of displayable values and BE expected keys.

Copy link
Contributor

@sahil97 sahil97 left a comment

Choose a reason for hiding this comment

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

LGTM !

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@NolanVH NolanVH merged commit 3e5e313 into main Nov 22, 2023
4 checks passed
@NolanVH NolanVH deleted the FW-5212-language-admin-join-request-approval-fix branch November 22, 2023 17:58
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.

3 participants