This commit is contained in:
Bruno Rybársky 2024-04-26 01:21:44 +02:00
parent 44126aa507
commit 12037732b1

@ -106,7 +106,9 @@ async function displayList(data, elementId, deleteFunction) {
if ("function" === typeof deleteFunction) {
const th = document.createElement("th");
th.appendChild(document.createElement('<i class="ri-delete-bin-line""></i>'));
let deleteBtn = document.createElement('i');
deleteBtn.classList = "ri-delete-bin-line";
th.appendChild(deleteBtn);
headerRow.appendChild(th);
}