|
|
@ -98,6 +98,7 @@
|
|
|
|
:search='innerSearch'
|
|
|
|
:search='innerSearch'
|
|
|
|
:loading='isLoading'
|
|
|
|
:loading='isLoading'
|
|
|
|
:options.sync='pagination'
|
|
|
|
:options.sync='pagination'
|
|
|
|
|
|
|
|
@page-count='pageTotal = $event'
|
|
|
|
hide-default-footer
|
|
|
|
hide-default-footer
|
|
|
|
ref='dude'
|
|
|
|
ref='dude'
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -183,6 +184,7 @@ export default {
|
|
|
|
sortDesc: [false]
|
|
|
|
sortDesc: [false]
|
|
|
|
},
|
|
|
|
},
|
|
|
|
pages: [],
|
|
|
|
pages: [],
|
|
|
|
|
|
|
|
pageTotal: 0,
|
|
|
|
isLoading: true,
|
|
|
|
isLoading: true,
|
|
|
|
scrollStyle: {
|
|
|
|
scrollStyle: {
|
|
|
|
vuescroll: {},
|
|
|
|
vuescroll: {},
|
|
|
@ -214,9 +216,6 @@ export default {
|
|
|
|
tagsSelected () {
|
|
|
|
tagsSelected () {
|
|
|
|
return _.filter(this.tags, t => _.includes(this.selection, t.tag))
|
|
|
|
return _.filter(this.tags, t => _.includes(this.selection, t.tag))
|
|
|
|
},
|
|
|
|
},
|
|
|
|
pageTotal () {
|
|
|
|
|
|
|
|
return Math.ceil(this.pages.length / this.pagination.itemsPerPage)
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
orderByItems () {
|
|
|
|
orderByItems () {
|
|
|
|
return [
|
|
|
|
return [
|
|
|
|
{ text: this.$t('tags:orderByField.creationDate'), value: 'createdAt' },
|
|
|
|
{ text: this.$t('tags:orderByField.creationDate'), value: 'createdAt' },
|
|
|
|