Skip to content

Do not close modal when there are error messages

Savas Vedova requested to merge 321766-do-not-close-modal-in-case-of-error into master

What does this MR do?

The pipeline security dashboard vulnerability modal shows an error when the dismiss button fails to make the API call. The error is visible for less than a second and then the modal closes. This MR fixes that bug and leaves the modal open when there are error messages.

Screenshots (strongly suggested)

before after
before do-not-close-modal-if-error

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #321766 (closed)

Merge request reports

Loading