Commit ed697e3 1 parent aebc843 commit ed697e3 Copy full SHA for ed697e3
File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 98
98
:search ='innerSearch'
99
99
:loading ='isLoading'
100
100
:options.sync ='pagination'
101
+ @page-count ='pageTotal = $event'
101
102
hide-default-footer
102
103
ref ='dude'
103
104
)
@@ -183,6 +184,7 @@ export default {
183
184
sortDesc: [false ]
184
185
},
185
186
pages: [],
187
+ pageTotal: 0 ,
186
188
isLoading: true ,
187
189
scrollStyle: {
188
190
vuescroll: {},
@@ -214,9 +216,6 @@ export default {
214
216
tagsSelected () {
215
217
return _ .filter (this .tags , t => _ .includes (this .selection , t .tag ))
216
218
},
217
- pageTotal () {
218
- return Math .ceil (this .pages .length / this .pagination .itemsPerPage )
219
- },
220
219
orderByItems () {
221
220
return [
222
221
{ text: this .$t (' tags:orderByField.creationDate' ), value: ' createdAt' },
You can’t perform that action at this time.
0 commit comments