diff --git a/client/src/app/add-new-torrent/add-new-torrent.component.html b/client/src/app/add-new-torrent/add-new-torrent.component.html index 99bb7b4..42e16a4 100644 --- a/client/src/app/add-new-torrent/add-new-torrent.component.html +++ b/client/src/app/add-new-torrent/add-new-torrent.component.html @@ -45,7 +45,7 @@
- diff --git a/client/src/app/add-new-torrent/add-new-torrent.component.ts b/client/src/app/add-new-torrent/add-new-torrent.component.ts index 2087720..3aaad21 100644 --- a/client/src/app/add-new-torrent/add-new-torrent.component.ts +++ b/client/src/app/add-new-torrent/add-new-torrent.component.ts @@ -146,6 +146,7 @@ export class AddNewTorrentComponent implements OnInit { torrent.downloadRetryAttempts = this.downloadRetryAttempts; torrent.deleteOnError = this.torrentDeleteOnError; torrent.lifetime = this.torrentLifetime; + torrent.downloadClient = this.downloadClient; if (this.magnetLink) { this.torrentService.uploadMagnet(this.magnetLink, torrent).subscribe( diff --git a/client/src/app/models/torrent.model.ts b/client/src/app/models/torrent.model.ts index 4e1bd07..681343d 100644 --- a/client/src/app/models/torrent.model.ts +++ b/client/src/app/models/torrent.model.ts @@ -4,6 +4,7 @@ export class Torrent { public torrentId: string; public hash: string; public category: string; + public downloadClient: number; public hostDownloadAction: number; public downloadAction: number; public finishedAction: number; diff --git a/client/src/app/torrent-table/torrent-table.component.html b/client/src/app/torrent-table/torrent-table.component.html index 65459b9..3e04bad 100644 --- a/client/src/app/torrent-table/torrent-table.component.html +++ b/client/src/app/torrent-table/torrent-table.component.html @@ -137,6 +137,10 @@