4976 product drive participant dropdown fix
Resolves #4976
Description
When creating a new donation and choosing Product Drive as the source, the Product Drive Participant drop down displays a blank entry when the participant has no business name. This PR addresses this issue by falling back to the contact name of the product drive participant if the participant does not have a business name.
Also adding DockerDesktopWSL/ to the .gitignore file
Type of change
- Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
New Rspec tests and manual verification
Screenshots
Creating a Product Drive Participant with no business name:
Before:
After:
Hey @cielf, sorry for the late response! I just pushed up the fix. It should work for the New Donation page as well now.
Looks good, but lint is failing and there is a merge conflict.
@tbenny001 has had to bow out - so this is open for someone else to take it the last mile.
It looks like a different PR resolved the issue in the meantime. Closing.