diff --git a/src/templates/nutrition.html b/src/templates/nutrition.html index 0215f3d..ced7736 100644 --- a/src/templates/nutrition.html +++ b/src/templates/nutrition.html @@ -153,6 +153,8 @@ function updateNutritionData() { let currentAction = ''; function showPasswordPrompt(action) { + console.log("hier") + console.log(action) currentAction = action; // 'delete' oder 'edit' document.getElementById('password-prompt').style.display = 'block'; document.getElementById('delete-row-button').style.display = action === 'edit' ? 'none' : 'block';