diff --git a/portal/setup-wizard.html b/portal/setup-wizard.html index 84ab8e1..a65a4d1 100644 --- a/portal/setup-wizard.html +++ b/portal/setup-wizard.html @@ -2905,7 +2905,7 @@ ${item.name} ${item.description ? `
${item.description}` : ''} -
${modGroupsHtml}
+ ${modGroupsHtml ? `
${modGroupsHtml}
` : ''} $${parseFloat(item.price || 0).toFixed(2)} @@ -2935,6 +2935,9 @@ itemsHtml += renderCategoryItems(catName, false); } + const hasAnyMods = items.some(it => (it.modifiers || []).length > 0); + const modsBtn = hasAnyMods ? '' : ''; + addMessage('ai', `

I found ${items.length} menu items across your categories:

@@ -2942,7 +2945,7 @@

Uncheck any items you don't want to include.

- ${items.some(it => (it.modifiers || []).length > 0) ? `` : ''} + ${modsBtn}