rep: fix interface.html typo

master
Rob Pilling 2023-07-12 21:46:01 +01:00
parent e408fb9879
commit 784c7b203a
1 changed files with 2 additions and 2 deletions

View File

@ -59,8 +59,8 @@ function renderRep(rep) {
} }
buttonDelete.appendChild(iconDelete); buttonDelete.appendChild(iconDelete);
buttonDelete.onclick = (e => { buttonDelete.onclick = (e => {
reps = reps.filter(a => a !== alarm); reps = reps.filter(a => a !== rep);
document.getElementById("events").removeChild(tr); document.getElementById("repsTable").removeChild(tr);
}); });
} }
tdInfo.appendChild(buttonDelete); tdInfo.appendChild(buttonDelete);