Commit d7394e3 1 parent 6dcd233 commit d7394e3 Copy full SHA for d7394e3
File tree 1 file changed +1
-5
lines changed
1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ export const BPagination = /*#__PURE__*/ Vue.extend({
49
49
const result = mathCeil ( sanitizeTotalRows ( this . totalRows ) / sanitizePerPage ( this . perPage ) )
50
50
return result < 1 ? 1 : result
51
51
} ,
52
+ // Used for watching changes to `perPage` and `numberOfPages`
52
53
pageSizeNumberOfPages ( ) {
53
- // Used for watching changes to `perPage` and `numberOfPages`
54
54
return {
55
55
perPage : sanitizePerPage ( this . perPage ) ,
56
56
totalRows : sanitizeTotalRows ( this . totalRows ) ,
@@ -91,10 +91,6 @@ export const BPagination = /*#__PURE__*/ Vue.extend({
91
91
} )
92
92
}
93
93
} ,
94
- mounted ( ) {
95
- // Set the initial page count
96
- this . localNumberOfPages = this . numberOfPages
97
- } ,
98
94
methods : {
99
95
// These methods are used by the render function
100
96
onClick ( event , pageNumber ) {
You can’t perform that action at this time.
0 commit comments