From 113e9cdb820a65347d2394d1a4edbcbb9530dc2c Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Fri, 9 Oct 2026 23:05:35 +0200 Subject: [PATCH 1/7] retard vergisst await --- src/main/resources/static/js/pages/index/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/static/js/pages/index/index.js b/src/main/resources/static/js/pages/index/index.js index f684840..bc704c6 100644 --- a/src/main/resources/static/js/pages/index/index.js +++ b/src/main/resources/static/js/pages/index/index.js @@ -14,9 +14,9 @@ function editList() { } -function deleteList(listElement) { +async function deleteList(listElement) { - const response = api.deleteList(listElement.id); + const response = await api.deleteList(listElement.id); if (response.status == 204) ui.deleteList(listElement); } From de56ba242c3186176aa1c9bb4b2581c4de3cddc9 Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Fri, 9 Oct 2026 23:06:41 +0200 Subject: [PATCH 2/7] a hat nun auch classe list__name --- src/main/resources/templates/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 20dd7e0..5948bda 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -19,7 +19,7 @@ xmlns:th="http://www.thymeleaf.org">