From: Chocobozzz Date: Fri, 29 Jun 2018 13:22:20 +0000 (+0200) Subject: Fix build X-Git-Tag: v1.0.0-beta.10.pre.1~105 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e1807a942f08e44775a25c0d0544cc322955466b;p=oweals%2Fpeertube.git Fix build --- 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 (