Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix build

Chocobozzze1807a942f08
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 e56f46262e..ccdd9a3dcb 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 6db8ea8d6a..e25037e242 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 (