updated the tracker to have more features

This commit is contained in:
2025-09-30 12:40:26 -07:00
parent ea56efa3d4
commit 4b49c78e5d
2 changed files with 2 additions and 9 deletions

View File

@@ -477,7 +477,7 @@
});
// Show add single food modal and pre-select meal time
function addSingleFoodToTime(mealTime) {
document.querySelector('#addSingleFoodModal select[name="meal_time"]').value = mealTime;
document.getElementById('addSingleFoodMealTime').value = mealTime;
new bootstrap.Modal(document.getElementById('addSingleFoodModal')).show();
}