We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dcd233 commit d7394e3Copy full SHA for d7394e3
src/components/pagination/pagination.js
@@ -49,8 +49,8 @@ export const BPagination = /*#__PURE__*/ Vue.extend({
49
const result = mathCeil(sanitizeTotalRows(this.totalRows) / sanitizePerPage(this.perPage))
50
return result < 1 ? 1 : result
51
},
52
+ // Used for watching changes to `perPage` and `numberOfPages`
53
pageSizeNumberOfPages() {
- // Used for watching changes to `perPage` and `numberOfPages`
54
return {
55
perPage: sanitizePerPage(this.perPage),
56
totalRows: sanitizeTotalRows(this.totalRows),
@@ -91,10 +91,6 @@ export const BPagination = /*#__PURE__*/ Vue.extend({
91
})
92
}
93
94
- mounted() {
95
- // Set the initial page count
96
- this.localNumberOfPages = this.numberOfPages
97
- },
98
methods: {
99
// These methods are used by the render function
100
onClick(event, pageNumber) {
0 commit comments