Skip to content

Commit e7ae8be

Browse files
committed
Bug Fix #1
1 parent f60843f commit e7ae8be

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-laravel-pagination",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Pagination for vuejs with bootstrap, works with any serverside framework (ready to use with laravel)",
55
"main": "vue-pagination.js",
66
"scripts": {

vue-pagination.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ module.exports = {
6868
},
6969
computed: {
7070
data: function () {
71+
this.visible = 1;
72+
7173
var from = this.pagination.current_page - this.offset;
7274
if(from < 1) {
7375
from = 1;

0 commit comments

Comments
 (0)