Skip to content

Error in custom dashboard yml file breaks the dashboards dropdown

What does this MR do?

If the custom dashboard yml file is incorrect (something wrong with the format or wrong keywords) the dashboards dropdown in the monitoring dashboard is empty. The user cannot select another dashboard

This MR fixes the dropdown.

Screenshots

Before After
Screen_Shot_2020-02-29_at_5.49.22_PM Screen_Shot_2020-02-29_at_5.49.44_PM

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

Mentions #208524 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports