From f38b8b547f51693e8df1b07210b07224db9bef49 Mon Sep 17 00:00:00 2001 From: Tim Aldinger Date: Sat, 17 Oct 2026 16:09:16 +0200 Subject: [PATCH] falsche property --- src/main/resources/static/js/pages/index/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/static/js/pages/index/index.js b/src/main/resources/static/js/pages/index/index.js index 068c768..ba85aa1 100644 --- a/src/main/resources/static/js/pages/index/index.js +++ b/src/main/resources/static/js/pages/index/index.js @@ -14,7 +14,7 @@ async function addList(listName) { ui.addList(response.json); } else { const name = document.querySelector(".addListForm__inputName"); - showError({ highlightFields: [name], elementForMessage: addListForm, message: response.msg }); + showError({ highlightFields: [name], elementForMessage: addListForm, message: response.json.msg }); } }