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

[new profile] fix for single site affiliation bug #6008

Merged
merged 4 commits into from
Feb 7, 2020

Conversation

ridz1208
Copy link
Collaborator

Brief summary of changes

Fix issue where empty dropdown shows up in the module when the logged in user is only affiliated to 1 site.

I'm not a big fan of hiding fields with a single option, but judging by the code, that was the expected behaviour. So this is the smallest possible change to fix the bug on 22

Testing instructions (if applicable)

  1. test items 5 and 6 of the testplan

Link(s) to related issue(s)

@ridz1208 ridz1208 added the Category: Bug PR or issue that aims to report or fix a bug label Jan 31, 2020
@ridz1208 ridz1208 added this to the 22.0.1 milestone Jan 31, 2020
Copy link
Contributor

@PapillonMcGill PapillonMcGill left a comment

Choose a reason for hiding this comment

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

Tried with a user having only 1 site affiliation and the drop down menu showed up with only that choice. :-(
DB properly set with raisinbread update.

@ridz1208
Copy link
Collaborator Author

ridz1208 commented Feb 3, 2020

@PapillonMcGill did you run make ?

the change is in the react file

@PapillonMcGill
Copy link
Contributor

yup!

Copy link
Contributor

@PapillonMcGill PapillonMcGill left a comment

Choose a reason for hiding this comment

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

Working!

@driusan driusan merged commit d342d4f into aces:22.0-release Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Bug PR or issue that aims to report or fix a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants