allowgeoloc: trim placename before submit as issue 189 reported

This commit is contained in:
sedum 2022-10-28 04:36:39 +02:00
parent ddf5f295d3
commit 6a7205ed34

View file

@ -212,7 +212,7 @@ export default {
if (this.event.place.id) {
formData.append('place_id', this.event.place.id)
}
formData.append('place_name', this.event.place.name)
formData.append('place_name', this.event.place.name.trim())
formData.append('place_address', this.event.place.address)
formData.append('place_latitude', this.event.place.latitude)
formData.append('place_longitude', this.event.place.longitude)