Skip to content

Fix issue with displaying solution actions

Tetiana Chupryna requested to merge fix-vuln-helper into master

What does this MR do?

This MR fixes a small found bug (MR first!)

On the Vulnerability page, if a remediation solution is available, we propose to user create MR or download a patch. However, if MR is already created, we should hide this option. The bug happened because on backend we were checking for the wrong property.

Screenshots (strongly suggested)

Before fix:

Screenshot_2020-12-29_at_13.35.21

After fix:

Screenshot_2020-12-29_at_13.35.48

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

Merge request reports