diff options
author | Chocobozzz <me@florianbigard.com> | 2018-11-15 09:24:56 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-11-15 09:25:32 +0100 |
commit | 2fbe7f1933f4bd5de96e6428234e56965616120e (patch) | |
tree | 7dfd9473d5984a35e35a8395d5da26d3a6c8858d /client/src/app/+my-account | |
parent | 79c2480f46ba5ffad6131ca599653d8b224b1c32 (diff) | |
download | PeerTube-2fbe7f1933f4bd5de96e6428234e56965616120e.tar.gz PeerTube-2fbe7f1933f4bd5de96e6428234e56965616120e.tar.zst PeerTube-2fbe7f1933f4bd5de96e6428234e56965616120e.zip |
Fix new Angular 7 issues
Diffstat (limited to 'client/src/app/+my-account')
-rw-r--r-- | client/src/app/+my-account/my-account-video-channels/my-account-video-channel-edit.ts | 4 |
1 files changed, 4 insertions, 0 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 ccdd9a3dc..4dc65dd99 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 | |||
@@ -4,7 +4,11 @@ import { VideoChannel } from '@app/shared/video-channel/video-channel.model' | |||
4 | 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 | 5 | // We need it even in the create component because it's used in the edit template |
6 | videoChannelToUpdate: VideoChannel | 6 | videoChannelToUpdate: VideoChannel |
7 | instanceHost: string | ||
7 | 8 | ||
8 | abstract isCreation (): boolean | 9 | abstract isCreation (): boolean |
9 | abstract getFormButtonTitle (): string | 10 | abstract getFormButtonTitle (): string |
11 | |||
12 | // FIXME: We need this method so angular does not complain in the child template | ||
13 | onAvatarChange (formData: FormData) { /* empty */ } | ||
10 | } | 14 | } |