diff options
author | Chocobozzz <me@florianbigard.com> | 2019-07-24 16:05:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-07-25 11:00:43 +0200 |
commit | f36da21e40104a50acb00132920b835240cebb38 (patch) | |
tree | a513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/shared/video/modals | |
parent | a353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff) | |
download | PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip |
Update angular
Diffstat (limited to 'client/src/app/shared/video/modals')
3 files changed, 3 insertions, 3 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 | |||
16 | export class VideoBlacklistComponent extends FormReactive implements OnInit { | 16 | export 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 | }) |
12 | export class VideoDownloadComponent { | 12 | export 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' | |||
17 | export class VideoReportComponent extends FormReactive implements OnInit { | 17 | export 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 | ||