Further work on VPaginator component
This commit is contained in:
@@ -26,7 +26,13 @@
|
||||
|
||||
<h5 v-show="rows.length === 0" class="text-muted">Keine Daten anzuzeigen...</h5>
|
||||
|
||||
<VPaginator />
|
||||
<VPaginator
|
||||
:radius="1"
|
||||
:page="store.page"
|
||||
:first-page="store.meta.first_page"
|
||||
:last-page="store.meta.last_page"
|
||||
@set-page="paginatorSetPage"
|
||||
/>
|
||||
|
||||
</template>
|
||||
|
||||
@@ -69,6 +75,10 @@ const iconSort = computed(() => {
|
||||
return 'bi-sort-' + (sort_by.asc ? 'down' : 'up')+'-alt'
|
||||
})
|
||||
|
||||
function paginatorSetPage(e : number){
|
||||
store.setPage(e)
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
Reference in New Issue
Block a user