add ability to change imported state of a torrent

This commit is contained in:
maxDorninger
2025-10-29 17:29:46 +01:00
parent abfae4f1f3
commit 22c4ddc869
4 changed files with 153 additions and 3 deletions

View File

@@ -12,7 +12,7 @@
import client from '$lib/api';
import { toast } from 'svelte-sonner';
import DeleteTorrentDialog from '$lib/components/delete-torrent-dialog.svelte';
import EditTorrentDialog from '$lib/components/edit-torrent-dialog.svelte';
let {
torrents,
isShow = true
@@ -96,6 +96,7 @@
{/if}
<DeleteTorrentDialog torrentName={torrent.torrent_title} torrentId={torrent.torrent_id!}
></DeleteTorrentDialog>
<EditTorrentDialog {torrent} />
</Table.Cell>
{/if}
</Table.Row>