Merge "fix double id="p-variants""

This commit is contained in:
jenkins-bot 2024-05-28 22:57:14 +00:00 committed by Gerrit Code Review
commit 042bf26957

View file

@ -45,7 +45,7 @@ class VectorComponentVariants implements VectorComponent {
*/
private function getDropdownData() {
$dropdown = new VectorComponentDropdown(
$this->menuData[ 'id' ],
'vector-variants-dropdown',
$this->getDropdownLabel(),
// Hide dropdown if menu is empty
$this->menuData[ 'is-empty' ] ? 'emptyPortlet' : ''