mirror of
https://github.com/GCMatters/hermes.git
synced 2026-02-04 13:40:13 +01:00
fix #2
This commit is contained in:
@@ -137,7 +137,7 @@ async function loadEvents(org_id: number, evs?: Promise<any>) {
|
||||
|
||||
const removeBtn = document.createElement("button");
|
||||
removeBtn.className = "remove-btn mod-btn";
|
||||
editBtn.id = "remove-btn";
|
||||
removeBtn.id = "remove-btn";
|
||||
removeBtn.setAttribute("data-id", ev.eventId);
|
||||
removeBtn.title = "Remove event";
|
||||
removeBtn.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#FFFFFF"><path d="M280-440h400v-80H280v80ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>`;
|
||||
|
||||
Reference in New Issue
Block a user