Skip to content

Commit 6a23c6d

Browse files
committed
feat: enhance audits page with pagination options and improve layout by removing unnecessary space
1 parent 4133218 commit 6a23c6d

File tree

1 file changed

+5
-3
lines changed
  • apps/web/src/pages/identities/table/[_id]

1 file changed

+5
-3
lines changed

apps/web/src/pages/identities/table/[_id]/audits.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ div.q-pa-md
44
q-card-section.q-pa-none
55
q-toolbar(bordered dense style="height: 28px; line-height: 28px;")
66
q-toolbar-title Historique des changements
7-
q-space
87
q-btn(
98
icon="mdi-refresh"
109
color="primary"
@@ -23,6 +22,9 @@ div.q-pa-md
2322
:rows="rows"
2423
:columns="columns"
2524
row-key="_id"
25+
binary-state-sort
26+
:rows-per-page-options="[5, 10, 20, 50, 100]"
27+
rows-per-page-label="Lignes par page"
2628
v-model:pagination="pagination"
2729
:loading="loading"
2830
@request="onRequest"
@@ -83,7 +85,7 @@ div.q-pa-md
8385
q-space
8486
.text-caption.text-grey-7
8587
span(v-if="diffDialog.author") Par: {{ diffDialog.author }}
86-
span(v-if="diffDialog.author && diffDialog.date") -
88+
span(v-if="diffDialog.author && diffDialog.date") -
8789
span(v-if="diffDialog.date") Le: {{ diffDialog.date }}
8890
q-separator
8991
.q-pa-md.row.justify-center(v-if="diffDialog.loading")
@@ -331,4 +333,4 @@ export default defineNuxtComponent({
331333
flex: 1;
332334
min-height: 0;
333335
}
334-
</style>
336+
</style>

0 commit comments

Comments
 (0)