fix: library table sometimes crashing

This commit is contained in:
ThaUnknown 2025-07-06 23:18:00 +02:00
parent 64298ff10d
commit 5d433c7788
No known key found for this signature in database
3 changed files with 4 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{
"name": "ui",
"version": "6.4.20",
"version": "6.4.21",
"license": "BUSL-1.1",
"private": true,
"packageManager": "pnpm@9.14.4",

View file

@ -8,4 +8,6 @@
?
{:then query}
{query.data?.Media?.title?.userPreferred ?? '?'}
{:catch}
?
{/await}

View file

@ -31,7 +31,7 @@
accessor: 'episode',
header: 'Episode',
id: 'episode',
cell: ({ value }) => value ?? '?'
cell: ({ value }) => value?.toString() ?? '?'
}),
table.column({ accessor: 'files', header: 'Files', id: 'files' }),
table.column({