Skip to content

feat(GlDisclosureDropdown): Optional chaining of the disclosure ref

Adds optional chaining of the disclosure ref

It is important for the jest specs, as whenever the disclosure is shallow mounted there is no ref and we need to mount the component completely.To avoid that we add optional chaining to the disclosure ref.

Merge request reports

Loading