aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video
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/shared/video
parenta353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff)
downloadPeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz
PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst
PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip
Update angular
Diffstat (limited to 'client/src/app/shared/video')
-rw-r--r--client/src/app/shared/video/modals/video-blacklist.component.ts2
-rw-r--r--client/src/app/shared/video/modals/video-download.component.ts2
-rw-r--r--client/src/app/shared/video/modals/video-report.component.ts2
-rw-r--r--client/src/app/shared/video/video-actions-dropdown.component.ts10
4 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/shared/video/modals/video-blacklist.component.ts b/client/src/app/shared/video/modals/video-blacklist.component.ts
index 4e4e8dc50..f0c70a365 100644
--- a/client/src/app/shared/video/modals/video-blacklist.component.ts
+++ b/client/src/app/shared/video/modals/video-blacklist.component.ts
@@ -16,7 +16,7 @@ import { FormReactive, VideoBlacklistValidatorsService } from '@app/shared/forms
16export class VideoBlacklistComponent extends FormReactive implements OnInit { 16export class VideoBlacklistComponent extends FormReactive implements OnInit {
17 @Input() video: VideoDetails = null 17 @Input() video: VideoDetails = null
18 18
19 @ViewChild('modal') modal: NgbModal 19 @ViewChild('modal', { static: true }) modal: NgbModal
20 20
21 @Output() videoBlacklisted = new EventEmitter() 21 @Output() videoBlacklisted = new EventEmitter()
22 22
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 16f3621b4..4022a11e8 100644
--- a/client/src/app/shared/video/modals/video-download.component.ts
+++ b/client/src/app/shared/video/modals/video-download.component.ts
@@ -10,7 +10,7 @@ import { Notifier } from '@app/core'
10 styleUrls: [ './video-download.component.scss' ] 10 styleUrls: [ './video-download.component.scss' ]
11}) 11})
12export class VideoDownloadComponent { 12export class VideoDownloadComponent {
13 @ViewChild('modal') modal: ElementRef 13 @ViewChild('modal', { static: true }) modal: ElementRef
14 14
15 downloadType: 'direct' | 'torrent' = 'torrent' 15 downloadType: 'direct' | 'torrent' = 'torrent'
16 resolutionId: number | string = -1 16 resolutionId: number | string = -1
diff --git a/client/src/app/shared/video/modals/video-report.component.ts b/client/src/app/shared/video/modals/video-report.component.ts
index 725dd020f..1d368ff17 100644
--- a/client/src/app/shared/video/modals/video-report.component.ts
+++ b/client/src/app/shared/video/modals/video-report.component.ts
@@ -17,7 +17,7 @@ import { VideoAbuseService } from '@app/shared/video-abuse'
17export class VideoReportComponent extends FormReactive implements OnInit { 17export class VideoReportComponent extends FormReactive implements OnInit {
18 @Input() video: VideoDetails = null 18 @Input() video: VideoDetails = null
19 19
20 @ViewChild('modal') modal: NgbModal 20 @ViewChild('modal', { static: true }) modal: NgbModal
21 21
22 error: string = null 22 error: string = null
23 23
diff --git a/client/src/app/shared/video/video-actions-dropdown.component.ts b/client/src/app/shared/video/video-actions-dropdown.component.ts
index 8d4e33697..7f3e25d0a 100644
--- a/client/src/app/shared/video/video-actions-dropdown.component.ts
+++ b/client/src/app/shared/video/video-actions-dropdown.component.ts
@@ -29,12 +29,12 @@ export type VideoActionsDisplayType = {
29 styleUrls: [ './video-actions-dropdown.component.scss' ] 29 styleUrls: [ './video-actions-dropdown.component.scss' ]
30}) 30})
31export class VideoActionsDropdownComponent implements OnChanges { 31export class VideoActionsDropdownComponent implements OnChanges {
32 @ViewChild('playlistDropdown') playlistDropdown: NgbDropdown 32 @ViewChild('playlistDropdown', { static: false }) playlistDropdown: NgbDropdown
33 @ViewChild('playlistAdd') playlistAdd: VideoAddToPlaylistComponent 33 @ViewChild('playlistAdd', { static: false }) playlistAdd: VideoAddToPlaylistComponent
34 34
35 @ViewChild('videoDownloadModal') videoDownloadModal: VideoDownloadComponent 35 @ViewChild('videoDownloadModal', { static: false }) videoDownloadModal: VideoDownloadComponent
36 @ViewChild('videoReportModal') videoReportModal: VideoReportComponent 36 @ViewChild('videoReportModal', { static: false }) videoReportModal: VideoReportComponent
37 @ViewChild('videoBlacklistModal') videoBlacklistModal: VideoBlacklistComponent 37 @ViewChild('videoBlacklistModal', { static: false }) videoBlacklistModal: VideoBlacklistComponent
38 38
39 @Input() video: Video | VideoDetails 39 @Input() video: Video | VideoDetails
40 40