Update static/js/app.js
Browse files- static/js/app.js +1 -1
static/js/app.js
CHANGED
@@ -170,7 +170,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
170 |
selectedFoodList.innerHTML = '';
|
171 |
selectedItems.forEach(item => {
|
172 |
const li = document.createElement('li');
|
173 |
-
li.textContent = `${item.description} (${item.calories} kcal)`;
|
174 |
selectedFoodList.appendChild(li);
|
175 |
});
|
176 |
}
|
|
|
170 |
selectedFoodList.innerHTML = '';
|
171 |
selectedItems.forEach(item => {
|
172 |
const li = document.createElement('li');
|
173 |
+
li.textContent = `${item.description} (${item.calories} kcal) (${item.Protein} Protein) (${item.carbs} carbs) (${item.fat} fat)`;
|
174 |
selectedFoodList.appendChild(li);
|
175 |
});
|
176 |
}
|