Commit 18b656ab authored by Mycha de Vrees's avatar Mycha de Vrees
Browse files

fix book pagination totalrows

parent 03c9e9d2
Pipeline #365 passed with stage
in 1 minute and 25 seconds
......@@ -114,6 +114,7 @@ export default {
this.isBusy = true
await this.fetchBooks({ctx, vm: this})
this.isBusy = false
this.totalRows = this.getBookCount
return this.getAllBooks
}
},
......
......@@ -44,6 +44,7 @@ const getDefaultState = () => ({
all: [],
current: {},
count: 0,
bookCount: 0,
isFetching: false,
error: null
})
......
......@@ -47,6 +47,7 @@ const getDefaultState = () => ({
all: [],
current: {},
count: 0,
authorCount: 0,
isFetching: false,
error: null,
context: null
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment