fix
This commit is contained in:
parent
4c9d6cf6d3
commit
1ca5c8d4a1
@ -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
|
||||
})
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user