From 6a7205ed3462a26c2025d79d4ead2ac86dce57db Mon Sep 17 00:00:00 2001 From: sedum Date: Fri, 28 Oct 2022 04:36:39 +0200 Subject: [PATCH] allowgeoloc: trim placename before submit as issue 189 reported --- pages/add/_edit.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/add/_edit.vue b/pages/add/_edit.vue index c18a7ad1..1e9377d3 100644 --- a/pages/add/_edit.vue +++ b/pages/add/_edit.vue @@ -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)