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:
Pavol Rusnak 2025-12-02 21:59:13 +01:00 committed by GitHub
parent a0e4a59454
commit 9b8fe42102
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 1 deletions

File diff suppressed because one or more lines are too long

View file

@ -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]
} }
} }
} }

View file

@ -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">