From e1807a942f08e44775a25c0d0544cc322955466b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 29 Jun 2018 15:22:20 +0200 Subject: Fix build --- .../my-account-video-channels/my-account-video-channel-edit.ts | 4 ++++ .../my-account-video-channel-update.component.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts index e56f46262..ccdd9a3dc 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts @@ -1,6 +1,10 @@ import { FormReactive } from '@app/shared' +import { VideoChannel } from '@app/shared/video-channel/video-channel.model' export abstract class MyAccountVideoChannelEdit extends FormReactive { + // We need it even in the create component because it's used in the edit template + videoChannelToUpdate: VideoChannel + abstract isCreation (): boolean abstract getFormButtonTitle (): string } diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts index 6db8ea8d6..e25037e24 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts @@ -21,7 +21,7 @@ export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelE error: string - private videoChannelToUpdate: VideoChannel + videoChannelToUpdate: VideoChannel private paramsSub: Subscription constructor ( -- cgit v1.2.3