falsche property
This commit is contained in:
1 parent
083dfa6e7b
commit
f38b8b547f
1 file changed
+1
-1
@@ -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 });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user