bug
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-04-07 19:02:10 +02:00
parent 5ac1a9f5a9
commit 2769d0a33a

View File

@ -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';