From f36da21e40104a50acb00132920b835240cebb38 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:05:59 +0200 Subject: Update angular --- client/src/app/shared/video/modals/video-download.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/video/modals/video-download.component.ts') 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' styleUrls: [ './video-download.component.scss' ] }) export class VideoDownloadComponent { - @ViewChild('modal') modal: ElementRef + @ViewChild('modal', { static: true }) modal: ElementRef downloadType: 'direct' | 'torrent' = 'torrent' resolutionId: number | string = -1 -- cgit v1.2.3