From f36da21e40104a50acb00132920b835240cebb38 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:05:59 +0200 Subject: Update angular --- .../videos/+video-edit/video-add-components/video-upload.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts') diff --git a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts index 69fa13a2f..23b79edd3 100644 --- a/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts +++ b/client/src/app/videos/+video-edit/video-add-components/video-upload.component.ts @@ -27,7 +27,7 @@ import { scrollToTop } from '@app/shared/misc/utils' export class VideoUploadComponent extends VideoSend implements OnInit, OnDestroy, CanComponentDeactivate { @Output() firstStepDone = new EventEmitter() @Output() firstStepError = new EventEmitter() - @ViewChild('videofileInput') videofileInput: ElementRef + @ViewChild('videofileInput', { static: false }) videofileInput: ElementRef // So that it can be accessed in the template readonly SPECIAL_SCHEDULED_PRIVACY = VideoEdit.SPECIAL_SCHEDULED_PRIVACY -- cgit v1.2.3