]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix build
authorChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 13:22:20 +0000 (15:22 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 29 Jun 2018 15:10:52 +0000 (17:10 +0200)
client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts
client/src/app/+my-account/my-account-video-channels/my-account-video-channel-update.component.ts

index e56f46262e1917fcee22b8dbbea9c04ee2b88d8c..ccdd9a3dcba5bff45be17d0e415b2f482140840e 100644 (file)
@@ -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
 }
index 6db8ea8d6a41555b43d6651b54d486d359503505..e25037e242446b0d59e2bb4e75a8974256bfa3de 100644 (file)
@@ -21,7 +21,7 @@ export class MyAccountVideoChannelUpdateComponent extends MyAccountVideoChannelE
 
   error: string
 
-  private videoChannelToUpdate: VideoChannel
+  videoChannelToUpdate: VideoChannel
   private paramsSub: Subscription
 
   constructor (