Skip to content

Commit

Permalink
Merge a93e508 into 2a10cc1
Browse files Browse the repository at this point in the history
  • Loading branch information
ghys authored May 30, 2021
2 parents 2a10cc1 + a93e508 commit 8cedfe2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default {
},
created () {
this.smartSelectParams.closeOnSelect = !(this.multiple)
if (!this.items) {
if (!this.items || !this.items.length) {
// TODO use a Vuex store
this.$oh.api.get('/rest/items').then((items) => {
this.sortAndFilterItems(items)
Expand Down

0 comments on commit 8cedfe2

Please sign in to comment.