feat: change default table pagination (#3607)
Co-authored-by: dni ⚡ <office@dnilabs.com>
Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
parent
a0e4a59454
commit
9b8fe42102
3 changed files with 5 additions and 1 deletions
2
lnbits/static/bundle-components.min.js
vendored
2
lnbits/static/bundle-components.min.js
vendored
File diff suppressed because one or more lines are too long
|
|
@ -2,6 +2,9 @@ const quasarConfig = {
|
||||||
config: {
|
config: {
|
||||||
loading: {
|
loading: {
|
||||||
spinner: Quasar.QSpinnerBars
|
spinner: Quasar.QSpinnerBars
|
||||||
|
},
|
||||||
|
table: {
|
||||||
|
rowsPerPageOptions: [5, 10, 20, 50, 100, 200, 500, 0]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -192,6 +192,7 @@
|
||||||
:hide-header="g.mobileSimple && $q.screen.lt.md"
|
:hide-header="g.mobileSimple && $q.screen.lt.md"
|
||||||
:hide-bottom="g.mobileSimple && $q.screen.lt.md"
|
:hide-bottom="g.mobileSimple && $q.screen.lt.md"
|
||||||
v-model:pagination="paymentsTable.pagination"
|
v-model:pagination="paymentsTable.pagination"
|
||||||
|
:rows-per-page-options="$q.config.table.rowsPerPageOptions"
|
||||||
@request="fetchPayments"
|
@request="fetchPayments"
|
||||||
>
|
>
|
||||||
<template v-slot:header="props">
|
<template v-slot:header="props">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue