Skip to content

Conversation

@Dnouv
Copy link
Member

@Dnouv Dnouv commented May 9, 2022

Proposed changes (including videos or screenshots)

This PR fixes the toast error message on "Users" tab by catching and showing the relevant and brief error info.

image

Issue(s)

Currently if a admin tries to save a user with the existing username, he will be prompted with an toast message "Error" which does not helps the user to rectify the issue, however the correct error is returned from the server.

Steps to test or reproduce

  1. Go to the "Users" tab.
  2. Try to add a new user with the same name or e-mail address as the existing one.
  3. An toast message "Error" is shown.
    Expected:
    An message with "E-mail or username already exists"

Further comments

@Dnouv Dnouv requested a review from a team as a code owner May 9, 2022 10:00
@dudanogueira
Copy link
Contributor

Closing in favor of #26008

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