diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-05 14:16:48 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-05 14:16:48 +0200 |
commit | 8dfceec44a5eec8b0190d1d5076aab0f03a0cb52 (patch) | |
tree | 70ff676157240702a2013f2f6d705bfc342a8a81 /client/src/app/shared/video/modals | |
parent | 3a0fb65c61f80b510bce979a45d59d17948745e8 (diff) | |
download | PeerTube-8dfceec44a5eec8b0190d1d5076aab0f03a0cb52.tar.gz PeerTube-8dfceec44a5eec8b0190d1d5076aab0f03a0cb52.tar.zst PeerTube-8dfceec44a5eec8b0190d1d5076aab0f03a0cb52.zip |
video add to playlist component -> onpush strategy
Diffstat (limited to 'client/src/app/shared/video/modals')
-rw-r--r-- | client/src/app/shared/video/modals/video-download.component.html | 2 | ||||
-rw-r--r-- | client/src/app/shared/video/modals/video-download.component.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/video/modals/video-download.component.html b/client/src/app/shared/video/modals/video-download.component.html index 2bb5d6d37..dd01c1388 100644 --- a/client/src/app/shared/video/modals/video-download.component.html +++ b/client/src/app/shared/video/modals/video-download.component.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <div class="input-group input-group-sm"> | 9 | <div class="input-group input-group-sm"> |
10 | <div class="input-group-prepend peertube-select-container"> | 10 | <div class="input-group-prepend peertube-select-container"> |
11 | <select [(ngModel)]="resolutionId"> | 11 | <select [(ngModel)]="resolutionId"> |
12 | <option *ngFor="let file of video.files" [value]="file.resolution.id">{{ file.resolution.label }}</option> | 12 | <option *ngFor="let file of video?.files" [value]="file.resolution.id">{{ file.resolution.label }}</option> |
13 | </select> | 13 | </select> |
14 | </div> | 14 | </div> |
15 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getLink()" /> | 15 | <input #urlInput (click)="urlInput.select()" type="text" class="form-control input-sm readonly" readonly [value]="getLink()" /> |
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 64aaeb3c8..d6d10d29e 100644 --- a/client/src/app/shared/video/modals/video-download.component.ts +++ b/client/src/app/shared/video/modals/video-download.component.ts | |||
@@ -15,7 +15,7 @@ export class VideoDownloadComponent { | |||
15 | downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' | 15 | downloadType: 'direct' | 'torrent' | 'magnet' = 'torrent' |
16 | resolutionId: number | string = -1 | 16 | resolutionId: number | string = -1 |
17 | 17 | ||
18 | private video: VideoDetails | 18 | video: VideoDetails |
19 | 19 | ||
20 | constructor ( | 20 | constructor ( |
21 | private notifier: Notifier, | 21 | private notifier: Notifier, |