File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 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({
4949 const result = mathCeil ( sanitizeTotalRows ( this . totalRows ) / sanitizePerPage ( this . perPage ) )
5050 return result < 1 ? 1 : result
5151 } ,
52+ // Used for watching changes to `perPage` and `numberOfPages`
5253 pageSizeNumberOfPages ( ) {
53- // Used for watching changes to `perPage` and `numberOfPages`
5454 return {
5555 perPage : sanitizePerPage ( this . perPage ) ,
5656 totalRows : sanitizeTotalRows ( this . totalRows ) ,
@@ -91,10 +91,6 @@ export const BPagination = /*#__PURE__*/ Vue.extend({
9191 } )
9292 }
9393 } ,
94- mounted ( ) {
95- // Set the initial page count
96- this . localNumberOfPages = this . numberOfPages
97- } ,
9894 methods : {
9995 // These methods are used by the render function
10096 onClick ( event , pageNumber ) {
You can’t perform that action at this time.
0 commit comments