diff --git a/kds/kds.js b/kds/kds.js index de9040d..c348fb1 100644 --- a/kds/kds.js +++ b/kds/kds.js @@ -361,20 +361,12 @@ function renderAllModifiers(modifiers, allItems) { collectLeafModifiers(modifiers); console.log(` Total leaf modifiers found: ${leafModifiers.length}`); - - // Deduplicate modifiers with the same display text - const seen = new Set(); leafModifiers.forEach(({ mod }) => { // Use ItemParentName (the category/template name) if available, otherwise just show the item name // This gives us "Drink Choice: Coke" instead of "Double Double Combo: Coke" const displayText = mod.ItemParentName ? `${mod.ItemParentName}: ${mod.ItemName}` : mod.ItemName; - - // Skip duplicates - if (seen.has(displayText)) return; - seen.add(displayText); - html += `
+ ${escapeHtml(displayText)}
`; });