fix footer display

This commit is contained in:
Gauthier Roebroeck 2025-10-06 15:41:29 +08:00
parent d727b5e2b0
commit bf8027e780

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 = [
{