]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts
Fix player width with playlist
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-channels / my-account-video-channel-edit.ts
CommitLineData
08c1efbe 1import { FormReactive } from '@app/shared'
e1807a94 2import { VideoChannel } from '@app/shared/video-channel/video-channel.model'
08c1efbe
C
3
4export abstract class MyAccountVideoChannelEdit extends FormReactive {
e1807a94
C
5 // We need it even in the create component because it's used in the edit template
6 videoChannelToUpdate: VideoChannel
2fbe7f19 7 instanceHost: string
e1807a94 8
08c1efbe
C
9 abstract isCreation (): boolean
10 abstract getFormButtonTitle (): string
2fbe7f19
C
11
12 // FIXME: We need this method so angular does not complain in the child template
13 onAvatarChange (formData: FormData) { /* empty */ }
1e66b987
C
14
15 // Should be implemented by the child
16 isBulkUpdateVideosDisplayed () {
17 return false
18 }
08c1efbe 19}