Skip to content

Commit

Permalink
fix FeathersVuexFind.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
fratzinger authored Sep 10, 2019
1 parent 25da7c0 commit 69051a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FeathersVuexFind.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default {
},
pageInfo() {
if (this.pagination == null || this.queryId == null || this.pageId == null) return {}
return _get(this.pagination, `[${this.queryId}][${this.pageId}]` || {}
return _get(this.pagination, `[${this.queryId}][${this.pageId}]`) || {}
},
scope() {
const { items, isFindPending, pagination, queryInfo, pageInfo } = this
Expand All @@ -98,7 +98,7 @@ export default {
.dispatch(`${this.service}/find`, params)
.then((response) => {
this.isFindPending = false
{ queryId, pageId } = getQueryInfo(params, response)
const { queryId, pageId } = getQueryInfo(params, response)
this.queryId = queryId
this.pageId = pageId
})
Expand Down

0 comments on commit 69051a6

Please sign in to comment.