Skip to content

Commit

Permalink
Fix fields to array issue (esbanarango#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
sinankeskin authored Apr 4, 2021
1 parent f79ae01 commit d3b5ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/place-autocomplete-field.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export default Component.extend({
}

if (this.fields) {
options.fields = this.this._fieldsToArray();
options.fields = this._fieldsToArray();
} else if (this.placeIdOnly) {
options.fields = ['place_id', 'name', 'types'];
}
Expand Down

0 comments on commit d3b5ad5

Please sign in to comment.