Loading
Fix: error throw when no sbom-errors
What does this MR do and why?
Fixes browser error when undefined SBOM-errors
There are cases on production (sentry error)
where SBOM-errors are undefined, which caused
a runtime error.
This change makes the related prop non-required
and adds an empty array as a default to prevent
component code from calling methods on undefined.
Changelog: fixed EE: true
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #607573
Edited by David Pisek