This commit is contained in:
@ -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';
|
||||
|
Reference in New Issue
Block a user