fix footer display

This commit is contained in:
Gauthier Roebroeck 2025-10-06 15:41:29 +08:00
parent d53e0f99d6
commit 7ce968eb42

View file

@ -399,7 +399,7 @@ function onDisplayedItems(items: { key: string }[]) {
// Table setup
const itemsPerPage = ref<number>(display.smAndDown.value ? 1 : 10)
const itemsPerPageOptions = computed(() => (display.smAndDown.value ? [1, 5] : [10, 25, 50]))
const hideFooter = computed(() => importBooks.value.length < itemsPerPage.value)
const hideFooter = computed(() => importBooks.value.length < (display.smAndDown.value ? 1 : 10))
const headers = [
{