list page pt. 9 fix LIST_QUERY_LIMIT discrepancy

This commit is contained in:
2026-02-05 23:07:08 -08:00
parent 6dc84f544b
commit dcf426ac52
2 changed files with 6 additions and 5 deletions

View File

@@ -10,8 +10,6 @@
} from "$lib/types/mal";
import type { PageData } from "./$types";
const LIST_QUERY_LIMIT = 20;
const ListSearchSchema = MalAnimeListQuerySchema.extend({
// Allow empty string to mean "All"
status: MalAnimeListStatusEnum.or(z.literal("")).default(""),
@@ -111,7 +109,7 @@
<div class="text-sm text-muted-foreground">
{#if data.username}
MAL entries: {data.malResponse?.data.length ?? 0} (limited to {LIST_QUERY_LIMIT})
MAL entries: {data.malResponse?.data.length ?? 0} (limited to {data.LIST_QUERY_LIMIT})
• Songs found: {data.songRows.length}
{/if}
</div>