generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user