KDS: show modifier name only, drop parent group breadcrumb
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
657bd33849
commit
c5b1913e28
1 changed files with 1 additions and 4 deletions
|
|
@ -442,10 +442,7 @@ function renderAllModifiers(modifiers, allItems) {
|
||||||
collectLeafModifiers(modifiers);
|
collectLeafModifiers(modifiers);
|
||||||
|
|
||||||
leafModifiers.forEach(({ mod }) => {
|
leafModifiers.forEach(({ mod }) => {
|
||||||
const displayText = mod.ItemParentName
|
html += `<div class="modifier">+ ${escapeHtml(mod.Name)}</div>`;
|
||||||
? `${mod.ItemParentName}: ${mod.Name}`
|
|
||||||
: mod.Name;
|
|
||||||
html += `<div class="modifier">+ ${escapeHtml(displayText)}</div>`;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
|
||||||
Reference in a new issue