From f36da21e40104a50acb00132920b835240cebb38 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 24 Jul 2019 16:05:59 +0200 Subject: Update angular --- .../app/+my-account/my-account-videos/my-account-videos.component.ts | 4 ++-- .../video-change-ownership/video-change-ownership.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'client/src/app/+my-account/my-account-videos') diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts b/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts index 5f29364a8..2c86a3c56 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts @@ -23,8 +23,8 @@ import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook' styleUrls: [ './my-account-videos.component.scss' ] }) export class MyAccountVideosComponent implements DisableForReuseHook { - @ViewChild('videosSelection') videosSelection: VideosSelectionComponent - @ViewChild('videoChangeOwnershipModal') videoChangeOwnershipModal: VideoChangeOwnershipComponent + @ViewChild('videosSelection', { static: true }) videosSelection: VideosSelectionComponent + @ViewChild('videoChangeOwnershipModal', { static: true }) videoChangeOwnershipModal: VideoChangeOwnershipComponent titlePage: string selection: SelectionType = {} diff --git a/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts b/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts index 37d7cf2a4..36d1ea091 100644 --- a/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts +++ b/client/src/app/+my-account/my-account-videos/video-change-ownership/video-change-ownership.component.ts @@ -13,7 +13,7 @@ import { VideoOwnershipService } from '@app/shared/video-ownership' styleUrls: [ './video-change-ownership.component.scss' ] }) export class VideoChangeOwnershipComponent extends FormReactive implements OnInit { - @ViewChild('modal') modal: ElementRef + @ViewChild('modal', { static: true }) modal: ElementRef usernamePropositions: string[] -- cgit v1.2.3