diff --git a/frontend/js/main.js b/frontend/js/main.js index 47c14d6..b2c7eac 100644 --- a/frontend/js/main.js +++ b/frontend/js/main.js @@ -1097,7 +1097,7 @@ function showEditFoodModal(entry) { const results = await DB.searchProducts(q); resultsEl.innerHTML = results.map(p => `` ).join("") || `
Не найдено
`; @@ -4288,7 +4288,7 @@ function createProductSearch(parentEl, onSelect, opts) { dropdown.style.display = ""; dropdown.innerHTML = results.map(p => `
- ${esc(p.name)} + ${esc(p.name)} ${sourceBadge(p.source)} ${p.kcal_per_100g != null ? Math.round(p.kcal_per_100g) + " кк" : "?"}
` ).join("") || `
Не найдено
`;