0
1
Fork 0

hide table aspect in invoices view

This commit is contained in:
William Buezas 2024-09-12 09:19:17 -03:00
parent 3c71c71df1
commit c4a64bff91
1 changed files with 13 additions and 1 deletions

View File

@ -90,7 +90,11 @@ onMounted(async () => {
<VnTable <VnTable
:columns="columns" :columns="columns"
:rows="invoices" :rows="invoices"
:hide-header="!invoices?.length" hide-header
:hide-bottom="!!invoices.length"
:pagination="{ rowsPerPage: 0 }"
hide-pagination
class="invoices-table"
> >
<template #body-cell-hasPdf="{ row }"> <template #body-cell-hasPdf="{ row }">
<QTd <QTd
@ -127,6 +131,14 @@ onMounted(async () => {
</div> </div>
</template> </template>
<style lang="scss">
.invoices-table {
.scroll {
overflow: hidden !important;
}
}
</style>
<i18n lang="yaml"> <i18n lang="yaml">
en-US: en-US:
noInvoicesFound: No invoices found noInvoicesFound: No invoices found