Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Feb 10, 2024
1 parent 069fefb commit 8b944e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion war/src/main/js/components/dropdowns/utils.js
Expand Up @@ -147,7 +147,7 @@ function convertHtmlToItems(children) {
const type = child.dataset.dropdownType;

switch (type) {
case "ITEM":
case "ITEM": {
const item = {
label: attributes.dropdownText,
id: attributes.dropdownId,
Expand All @@ -164,6 +164,7 @@ function convertHtmlToItems(children) {

items.push(item);
break;
}
case "SUBMENU":
items.push({
type: "ITEM",
Expand Down

0 comments on commit 8b944e9

Please sign in to comment.