]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/modals/video-download.component.html
Disable webtorrent support in client
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / modals / video-download.component.html
index 935d013300b8ab91d838cb08d9fa6916e6cb3bb5..3619f24e509a4bbc037458905bc6057dfea84033 100644 (file)
@@ -9,7 +9,7 @@
       <div class="input-group input-group-sm">
         <div class="input-group-prepend peertube-select-container">
           <select [(ngModel)]="resolutionId">
-            <option *ngFor="let file of video?.files" [value]="file.resolution.id">{{ file.resolution.label }}</option>
+            <option *ngFor="let file of getVideoFiles()" [value]="file.resolution.id">{{ file.resolution.label }}</option>
           </select>
         </div>
         <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getLink()" />