aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/videos/+video-watch/modal
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 16:05:59 +0200
committerChocobozzz <me@florianbigard.com>2019-07-25 11:00:43 +0200
commitf36da21e40104a50acb00132920b835240cebb38 (patch)
treea513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/videos/+video-watch/modal
parenta353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff)
downloadPeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz
PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst
PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip
Update angular
Diffstat (limited to 'client/src/app/videos/+video-watch/modal')
-rw-r--r--client/src/app/videos/+video-watch/modal/video-share.component.html2
-rw-r--r--client/src/app/videos/+video-watch/modal/video-share.component.ts2
-rw-r--r--client/src/app/videos/+video-watch/modal/video-support.component.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.html b/client/src/app/videos/+video-watch/modal/video-share.component.html
index 82e59d04d..e0be9f265 100644
--- a/client/src/app/videos/+video-watch/modal/video-share.component.html
+++ b/client/src/app/videos/+video-watch/modal/video-share.component.html
@@ -27,7 +27,7 @@
27 <ngb-tab i18n-title title="QR-Code" id="qrcode"> 27 <ngb-tab i18n-title title="QR-Code" id="qrcode">
28 <ng-template ngbTabContent> 28 <ng-template ngbTabContent>
29 <div class="tab-content"> 29 <div class="tab-content">
30 <ngx-qrcode qrc-element-type="url" [qrc-value]="getVideoUrl()" qrc-errorCorrectionLevel="Q"></ngx-qrcode> 30 <qrcode [qrdata]="getVideoUrl()" size="256" level="Q"></qrcode>
31 </div> 31 </div>
32 </ng-template> 32 </ng-template>
33 </ngb-tab> 33 </ngb-tab>
diff --git a/client/src/app/videos/+video-watch/modal/video-share.component.ts b/client/src/app/videos/+video-watch/modal/video-share.component.ts
index eaaf6b902..f45afccfb 100644
--- a/client/src/app/videos/+video-watch/modal/video-share.component.ts
+++ b/client/src/app/videos/+video-watch/modal/video-share.component.ts
@@ -30,7 +30,7 @@ type Customizations = {
30 styleUrls: [ './video-share.component.scss' ] 30 styleUrls: [ './video-share.component.scss' ]
31}) 31})
32export class VideoShareComponent { 32export class VideoShareComponent {
33 @ViewChild('modal') modal: ElementRef 33 @ViewChild('modal', { static: true }) modal: ElementRef
34 34
35 @Input() video: VideoDetails = null 35 @Input() video: VideoDetails = null
36 @Input() videoCaptions: VideoCaption[] = [] 36 @Input() videoCaptions: VideoCaption[] = []
diff --git a/client/src/app/videos/+video-watch/modal/video-support.component.ts b/client/src/app/videos/+video-watch/modal/video-support.component.ts
index 5e7afa012..b56a51fbf 100644
--- a/client/src/app/videos/+video-watch/modal/video-support.component.ts
+++ b/client/src/app/videos/+video-watch/modal/video-support.component.ts
@@ -11,7 +11,7 @@ import { MarkdownService } from '@app/shared/renderer'
11export class VideoSupportComponent { 11export class VideoSupportComponent {
12 @Input() video: VideoDetails = null 12 @Input() video: VideoDetails = null
13 13
14 @ViewChild('modal') modal: NgbModal 14 @ViewChild('modal', { static: true }) modal: NgbModal
15 15
16 videoHTMLSupport = '' 16 videoHTMLSupport = ''
17 17