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

bug(console): Team and contacts email selection doesn't persist #2356

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

poolsar42
Copy link
Collaborator

Description

Fixes types in Dropdown component for selected values

Related Issues

Testing

Tested teams section in console as well as authorize component for all scopes in passport

Checklist

  • I have read the CONTRIBUTING guidelines
  • I have tested my code (manually and/or automated if applicable)
  • I have updated the documentation (if necessary)

@poolsar42 poolsar42 self-assigned this Jun 2, 2023
//TODO: Temp fix. To be removed with full fix of typing issue
//@ts-ignore
if (selected === appContactAddress) {
if (selected.value === appContactAddress) {
return
}
if (!selected) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this also need to have .value added to it? If not, might want to move it up before the previous if-statement and change the error message.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Generally speaking if selected is presented here it includes that .value attached to it. However to be on the safe side I included both checks and moved it up with changing error message.

@poolsar42 poolsar42 force-pushed the fix/2353-console-teams-email-selection branch from 333d3a2 to 8f6bf5e Compare June 5, 2023 17:48
@betimshahini betimshahini merged commit 8d5ea69 into main Jun 5, 2023
13 of 14 checks passed
@betimshahini betimshahini deleted the fix/2353-console-teams-email-selection branch June 5, 2023 20:24
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.

bug(console): Team and contacts email selection doesn't persist
2 participants