Skip to content

Commit

Permalink
fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
isneezy committed Jul 17, 2018
1 parent 69664d3 commit df98bca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@isneezy/vue-selectize",
"version": "0.1.1",
"version": "0.2.0",
"main": "./dist/vue-selectize.common.js",
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
2 changes: 1 addition & 1 deletion src/components/VSelectize.vue
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export default {
if (this.activeOption) this.selectOption(this.activeOption)
else if (typeof this.createItem === 'function' && this.searchText.length) {
const option = this.createItem(this.searchText)
if(isPromise(option))
if(isPromise(option)) {
option.then((o) => {
this.selectOption(this.formatOption(o))
this.setNotBusy()
Expand Down

0 comments on commit df98bca

Please sign in to comment.