admin ui changes

This commit is contained in:
Bruno Rybársky 2024-02-04 09:55:47 +01:00
parent f3ea959f50
commit e409287632

@ -52,6 +52,7 @@ function displayList(data, element_id, delete_function=null) {
if(typeof delete_function === "function") {
const td = document.createElement("td");
let delete_button = document.createElement('button');
delete_button.textContent = "Delete"
delete_button.onclick = function (){
delete_function(line.ID);
}