From 2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Feb 2020 10:00:34 +0100 Subject: Update to angular 9 --- client/src/app/videos/+video-edit/video-add.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/videos/+video-edit/video-add.component.ts') diff --git a/client/src/app/videos/+video-edit/video-add.component.ts b/client/src/app/videos/+video-edit/video-add.component.ts index 401d8a08f..30ab08ea0 100644 --- a/client/src/app/videos/+video-edit/video-add.component.ts +++ b/client/src/app/videos/+video-edit/video-add.component.ts @@ -12,9 +12,9 @@ import { ServerConfig } from '@shared/models' styleUrls: [ './video-add.component.scss' ] }) export class VideoAddComponent implements OnInit, CanComponentDeactivate { - @ViewChild('videoUpload', { static: false }) videoUpload: VideoUploadComponent - @ViewChild('videoImportUrl', { static: false }) videoImportUrl: VideoImportUrlComponent - @ViewChild('videoImportTorrent', { static: false }) videoImportTorrent: VideoImportTorrentComponent + @ViewChild('videoUpload') videoUpload: VideoUploadComponent + @ViewChild('videoImportUrl') videoImportUrl: VideoImportUrlComponent + @ViewChild('videoImportTorrent') videoImportTorrent: VideoImportTorrentComponent secondStepType: 'upload' | 'import-url' | 'import-torrent' videoName: string -- cgit v1.2.3