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

refactor: Display member role when user has no role #1965

Merged
merged 4 commits into from
Jun 2, 2022

Conversation

BrunoQuaresma
Copy link
Collaborator

Closes #1949

@BrunoQuaresma BrunoQuaresma requested a review from a team as a code owner June 1, 2022 19:16
@BrunoQuaresma BrunoQuaresma self-assigned this Jun 1, 2022
@presleyp
Copy link
Contributor

presleyp commented Jun 1, 2022

I have an Admin and a Member. The treatment of the Member looks good, but now (don't know if it's new) if I give the Member another role, that role shows up with a comma.
Screen Shot 2022-06-01 at 3 27 17 PM
And if I take that role away again, it's blank
Screen Shot 2022-06-01 at 3 30 03 PM

@BrunoQuaresma
Copy link
Collaborator Author

BrunoQuaresma commented Jun 1, 2022

@presleyp this is interesting, good catch! Is it on local our storybook?

@presleyp
Copy link
Contributor

presleyp commented Jun 1, 2022

@presleyp this is interesting, good catch! Is it on local our storybook?

local. I'm doing make build now in case it was just me being out of date...

@BrunoQuaresma
Copy link
Collaborator Author

@presleyp it is fixed, but probably you have to restart the app and the database because it was sending the fallback role to the API when it should not.

@presleyp
Copy link
Contributor

presleyp commented Jun 1, 2022

I'm still seeing the bugs, but if Kira isn't, you're good to go!

@BrunoQuaresma BrunoQuaresma merged commit 3fd4dcd into main Jun 2, 2022
@BrunoQuaresma BrunoQuaresma deleted the bq/add-placeholder-value-to-user-roles branch June 2, 2022 13:46
@Kira-Pilot
Copy link
Member

Sorry, was late on this one, but yeah - everything looks good to me
Screen Shot 2022-06-02 at 9 53 45 AM

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.

Feat: Add placeholder value to users "roles" when they have none
3 participants