Return unique Sbom::Component by name

What does this MR do and why?

We only use Sbom::Component#name when querying so the ID does not matter and there can be duplicated results in the dropdown if we don't filter them out.

Thanks to @bwill for pointing out my simple mistake

References

Related to #521711 (closed)

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.

Merge request reports

Loading