X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fvideo%2Fmodals%2Fvideo-download.component.ts;h=16f3621b4adf940619aa49a139b1cbe3d35ef9e8;hb=7c51916a61d53526c594a2115f1c0e6051a895d9;hp=a07560f8761756552d172689f5844d21160d7abd;hpb=79ad1706f3cf009e04db9cd9e6a721801d93e64e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/video/modals/video-download.component.ts b/client/src/app/shared/video/modals/video-download.component.ts index a07560f87..16f3621b4 100644 --- a/client/src/app/shared/video/modals/video-download.component.ts +++ b/client/src/app/shared/video/modals/video-download.component.ts @@ -12,7 +12,7 @@ import { Notifier } from '@app/core' export class VideoDownloadComponent { @ViewChild('modal') modal: ElementRef - downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' + downloadType: 'direct' | 'torrent' = 'torrent' resolutionId: number | string = -1 video: VideoDetails @@ -57,9 +57,6 @@ export class VideoDownloadComponent { case 'torrent': return file.torrentDownloadUrl - - case 'magnet': - return file.magnetUri } }