Skip to content

Commit

Permalink
Fix properties not being set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
janfaracik committed Feb 29, 2024
1 parent ff813be commit 7e48e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/js/components/dropdowns/templates.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function menuItem(options) {
const tag = itemOptions.type === "link" ? "a" : "button";

const item = createElementFromHtml(`
<${tag} class="jenkins-dropdown__item ${itemOptions.clazz || ""}" ${itemOptions.url ? `href="${itemOptions.url}` : ""} ${itemOptions.id ? `id="${itemOptions.id}` : ""}>
<${tag} class="jenkins-dropdown__item ${itemOptions.clazz || ""}" ${itemOptions.url ? `href="${itemOptions.url}"` : ""} ${itemOptions.id ? `id="${itemOptions.id}"` : ""}>
${
itemOptions.icon
? `<div class="jenkins-dropdown__item__icon">${
Expand Down

0 comments on commit 7e48e13

Please sign in to comment.