Skip to content

Commit

Permalink
aaaa
Browse files Browse the repository at this point in the history
  • Loading branch information
LongmetalAdmin committed Feb 14, 2024
1 parent 1f6b26f commit 2f360f9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ form.onsubmit = async (event) => {
const getTodos = async () => {
const allTodos = await db.todos.reverse().toArray();
list_el.innerHTML = allTodos
.map(=> `
.map(
(todo) => `
(todo)
<div class="team">
<div class="content">
<input id="edit" class="text" readonly="readonly" type="text" value= ${todo.todo}>
</div>
</div>
<div class="actions">
${todo.globalid}
<button class="delete" onclick="deleteTodo(event, ${todo.id})">Delete</button>
<button class="edit" o
<button class="edit" onclick="window.open(pages/teamdetails.html, "_blank");">Edit</button>
</div>
</div>
`
)
Expand Down

0 comments on commit 2f360f9

Please sign in to comment.