Fix pagination
This commit is contained in:
parent
309eb16f06
commit
2f12d8eb81
|
@ -4,6 +4,8 @@
|
||||||
:headers="headers"
|
:headers="headers"
|
||||||
v-bind="$attrs"
|
v-bind="$attrs"
|
||||||
calculate-widths
|
calculate-widths
|
||||||
|
hide-default-footer
|
||||||
|
:items-per-page="itemsPerPage"
|
||||||
@click:row="
|
@click:row="
|
||||||
e =>
|
e =>
|
||||||
$router.push({
|
$router.push({
|
||||||
|
@ -30,6 +32,10 @@ export default {
|
||||||
wifiUsers: {
|
wifiUsers: {
|
||||||
type: Array,
|
type: Array,
|
||||||
default: () => []
|
default: () => []
|
||||||
|
},
|
||||||
|
itemsPerPage: {
|
||||||
|
type: Number,
|
||||||
|
default: 10
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data: () => ({
|
data: () => ({
|
||||||
|
|
|
@ -61,6 +61,7 @@
|
||||||
v-if="wifiUsers"
|
v-if="wifiUsers"
|
||||||
:wifi-users="wifiUsers.data"
|
:wifi-users="wifiUsers.data"
|
||||||
:loading="$apollo.queries.wifiUsers.loading"
|
:loading="$apollo.queries.wifiUsers.loading"
|
||||||
|
:items-per-page="itemsPerPage"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<v-pagination
|
<v-pagination
|
||||||
|
|
Loading…
Reference in New Issue
Block a user