fix: typescript code now regenerates after save

This commit is contained in:
2025-05-18 18:47:10 +02:00
parent 69c508ef84
commit 8ffb7f4eff
4 changed files with 9 additions and 7 deletions

View File

@@ -21,7 +21,9 @@
card.className = "event-card filled";
card.innerHTML = `
<span>${ev.title}</span>
<button class="remove-btn delete-btn" data-id="${ev.eventId}"></button>
<button class="remove-btn delete-btn" data-id="${ev.eventId}">
<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>
</button>
`;
container.appendChild(card);
}