Skip to content

Fix displaying merge request dependencies with no metrics

Nick Thomas requested to merge 209853-fix-blocking-mr-latest-closed-at into master

What does this MR do?

Metrics may not exist for some older MRs, so we need to &.latest_closed_at

Screenshots (strongly suggested)

Here's how we look with a non-metrics blocking MR now:

Screenshot_from_2020-12-08_12-08-18

Perfectly fine :)

Does this MR meet the acceptance criteria?

Conformity

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 #209853 (closed)

Edited by Nick Thomas

Merge request reports