Skip to content

Commit 4f02814

Browse files
committed
fix: update condition for displaying page size options in ResourceListTable
1 parent e6e4824 commit 4f02814

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/spa/src/components/ResourceListTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@
340340
</span>
341341
</template>
342342
</span>
343-
<div v-if="totalRows > 0 && pageSizeOptionsComputed?.length"
343+
<div v-if="totalRows > 0 && resource?.options?.listPageSizeOptions?.length"
344344
class="flex items-center gap-2 ml-auto" >
345345
<span class="text-sm text-lightListTablePaginationHelpText dark:text-darkListTablePaginationHelpText whitespace-nowrap">
346346
{{ $t('Rows per page') }}

0 commit comments

Comments
 (0)