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() { private function getDropdownData() {
$dropdown = new VectorComponentDropdown( $dropdown = new VectorComponentDropdown(
$this->menuData[ 'id' ], 'vector-variants-dropdown',
$this->getDropdownLabel(), $this->getDropdownLabel(),
// Hide dropdown if menu is empty // Hide dropdown if menu is empty
$this->menuData[ 'is-empty' ] ? 'emptyPortlet' : '' $this->menuData[ 'is-empty' ] ? 'emptyPortlet' : ''