File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -32,8 +32,7 @@ export default {
32
32
default: ' en'
33
33
},
34
34
customClass: {
35
- type: String ,
36
- default: ' '
35
+ type: String
37
36
}
38
37
},
39
38
data () {
@@ -49,19 +48,21 @@ export default {
49
48
return Language .translations [this .lang ]
50
49
},
51
50
totalPages () {
52
- return Math .ceil (this .total / 15 )
51
+ return Math .ceil (this .total / 10 )
53
52
},
54
53
titlePage () {
55
54
return ` ${ this .translation .title } ${ this .currentPage } `
56
55
},
57
56
classFirstPage () {
58
57
return {
59
- disabled: (this .currentPage === 1 )
58
+ disabled: (this .currentPage === 1 ),
59
+ ' c-not-allowed' : true
60
60
}
61
61
},
62
62
classLastPage () {
63
63
return {
64
- disabled: (this .currentPage === this .totalPages )
64
+ disabled: (this .currentPage === this .totalPages ),
65
+ ' c-not-allowed' : true
65
66
}
66
67
}
67
68
},
You can’t perform that action at this time.
0 commit comments