improve how the download_url field is excluded from the response model

This commit is contained in:
maxDorninger
2025-10-28 22:49:10 +01:00
parent 931f06e825
commit 30b710e618
6 changed files with 3669 additions and 3677 deletions

View File

@@ -227,7 +227,7 @@
<Table.Cell>{(torrent.size / 1024 / 1024 / 1024).toFixed(2)}GB</Table.Cell>
<Table.Cell>{torrent.seeders}</Table.Cell>
<Table.Cell>{torrent.score}</Table.Cell>
<Table.Cell>{torrent.indexer ?? "Unknown"}</Table.Cell>
<Table.Cell>{torrent.indexer ?? 'Unknown'}</Table.Cell>
<Table.Cell>
{#each torrent.flags as flag (flag)}
<Badge variant="outline">{flag}</Badge>

View File

@@ -273,7 +273,7 @@
: ''}</Table.Cell
>
<Table.Cell>{torrent.score}</Table.Cell>
<Table.Cell>{torrent.indexer ?? "unknown"}</Table.Cell>
<Table.Cell>{torrent.indexer ?? 'unknown'}</Table.Cell>
<Table.Cell>
{#if torrent.flags}
{#each torrent.flags as flag (flag)}