Skip to content

Commit d9c7d8e

Browse files
author
Aare Puussaar
committed
🐛 input query join
1 parent ebf04d9 commit d9c7d8e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/vue-mapbox-geocoder.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/vue-mapbox-geocoder.umd.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/MglGeocoderControl.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,15 @@
135135
136136
$_updateInput(results) {
137137
if (!this.initial) {
138-
const input = results.query ? results.query.join('') : ''
138+
const input = results.query || ''
139139
this.$emit('update:input', input)
140140
}
141141
},
142142
143143
query(query) {
144144
if (this.control) {
145145
this.$emit('update:input', query)
146-
return this.contol.query(query)
146+
return this.control.query(query)
147147
}
148148
return null
149149
}

0 commit comments

Comments
 (0)