Skip to content

Fix dashboard validation warning logic

Olena Horal-Koretska requested to merge 223159-fix-dahsboard-warning-logic into master

What does this MR do?

Updates the logic for dashboard validation

const hasWarnings = schemaValidationWarnings?.length !== 0 //returns true for the case when `schemaValidationWarnings` is `undefined`

Screenshots

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

Closes #223159 (closed)

Edited by Olena Horal-Koretska

Merge request reports