This commit is contained in:
Владимир Фёдоров 2025-06-03 00:37:47 +07:00
parent 4c9d6cf6d3
commit 1ca5c8d4a1

View File

@ -63,6 +63,11 @@
}
function addAction() {
const placeValue = place.value.trim()
if (placeValue === "") {
place.value = ""
return
}
fetch(
getApiUrl("/team/actions"),
{
@ -72,7 +77,7 @@
"X-Password": password.value
},
body: JSON.stringify({
"place": place.value
"place": placeValue
})
}
)