forked from kaverti/website
AdminAudit
This commit is contained in:
parent
95e48e1264
commit
5f8fa2be1f
|
@ -21,7 +21,7 @@
|
|||
<div class="section">
|
||||
<div class="">
|
||||
<b-table
|
||||
:data="users"
|
||||
:data="isEmpty ? [] : users"
|
||||
:paginated="isPaginated"
|
||||
:per-page="perPage"
|
||||
:current-page.sync="currentPage"
|
||||
|
@ -32,11 +32,15 @@
|
|||
:sort-icon="sortIcon"
|
||||
:opened-detailed="defaultOpenedDetails"
|
||||
:sort-icon-size="sortIconSize"
|
||||
default-sort="user.first_name"
|
||||
default-sort="id"
|
||||
aria-next-label="Next page"
|
||||
aria-previous-label="Previous page"
|
||||
aria-page-label="Page"
|
||||
hoverable
|
||||
aria-current-label="Current page">
|
||||
<b-table-column custom-key='props.row.id' field="ID" label="ID" sortable v-slot="props" numeric>
|
||||
{{ props.row.id }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column field="Text" label="Action" sortable v-slot="props">
|
||||
{{ props.row.action }}
|
||||
|
@ -79,7 +83,7 @@ export default {
|
|||
sortIcon: 'arrow-up',
|
||||
sortIconSize: 'is-small',
|
||||
currentPage: 1,
|
||||
perPage: 5,
|
||||
perPage: 30,
|
||||
defaultOpenedDetails: [1],
|
||||
showDetailIcon: true,
|
||||
|
||||
|
|
Loading…
Reference in New Issue