diff options
author | Chocobozzz <me@florianbigard.com> | 2018-06-29 15:22:20 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-06-29 17:10:52 +0200 |
commit | e1807a942f08e44775a25c0d0544cc322955466b (patch) | |
tree | 61d99e875c0f9e0c0293d10323e39facb7fcdc5d | |
parent | 70b40c2ed36b3e40833a268643cfed0068151c5b (diff) | |
download | PeerTube-e1807a942f08e44775a25c0d0544cc322955466b.tar.gz PeerTube-e1807a942f08e44775a25c0d0544cc322955466b.tar.zst PeerTube-e1807a942f08e44775a25c0d0544cc322955466b.zip |
Fix build
2 files changed, 5 insertions, 1 deletions
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 @@ | |||
1 | import { FormReactive } from '@app/shared' | 1 | import { FormReactive } from '@app/shared' |
2 | import { VideoChannel } from '@app/shared/video-channel/video-channel.model' | ||
2 | 3 | ||
3 | export abstract class MyAccountVideoChannelEdit extends FormReactive { | 4 | export abstract class MyAccountVideoChannelEdit extends FormReactive { |
5 | // We need it even in the create component because it's used in the edit template | ||
6 | videoChannelToUpdate: VideoChannel | ||
7 | |||
4 | abstract isCreation (): boolean | 8 | abstract isCreation (): boolean |
5 | abstract getFormButtonTitle (): string | 9 | abstract getFormButtonTitle (): string |
6 | } | 10 | } |
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 | |||
21 | 21 | ||
22 | error: string | 22 | error: string |
23 | 23 | ||
24 | private videoChannelToUpdate: VideoChannel | 24 | videoChannelToUpdate: VideoChannel |
25 | private paramsSub: Subscription | 25 | private paramsSub: Subscription |
26 | 26 | ||
27 | constructor ( | 27 | constructor ( |