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:
co-authored by
dni ⚡
Vlad Stan
parent
a0e4a59454
commit
9b8fe42102
+1
-1
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">
|
||||||
|
|||||||
Reference in New Issue
Block a user