diff options
author | Chocobozzz <me@florianbigard.com> | 2019-06-07 14:50:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-06-07 15:01:55 +0200 |
commit | 851f5daa1eec66e1faa3c45238ec9ab91be05b00 (patch) | |
tree | a13952cde4ad4434aeaa1894e0270d0515638650 /client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts | |
parent | 1b319b7aa6d2f4252615b370aaca6a800be1b1f4 (diff) | |
download | PeerTube-851f5daa1eec66e1faa3c45238ec9ab91be05b00.tar.gz PeerTube-851f5daa1eec66e1faa3c45238ec9ab91be05b00.tar.zst PeerTube-851f5daa1eec66e1faa3c45238ec9ab91be05b00.zip |
Add ability to set a public to private in client
Diffstat (limited to 'client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts index 81dd9a75f..e94188786 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts | |||
@@ -1,10 +1,12 @@ | |||
1 | import { FormReactive } from '@app/shared' | 1 | import { FormReactive } from '@app/shared' |
2 | import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model' | 2 | import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model' |
3 | import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models' | ||
3 | 4 | ||
4 | export abstract class MyAccountVideoPlaylistEdit extends FormReactive { | 5 | export abstract class MyAccountVideoPlaylistEdit extends FormReactive { |
5 | // Declare it here to avoid errors in create template | 6 | // Declare it here to avoid errors in create template |
6 | videoPlaylistToUpdate: VideoPlaylist | 7 | videoPlaylistToUpdate: VideoPlaylist |
7 | userVideoChannels: { id: number, label: string }[] = [] | 8 | userVideoChannels: { id: number, label: string }[] = [] |
9 | videoPlaylistPrivacies: VideoConstant<VideoPlaylistPrivacy>[] = [] | ||
8 | 10 | ||
9 | abstract isCreation (): boolean | 11 | abstract isCreation (): boolean |
10 | abstract getFormButtonTitle (): string | 12 | abstract getFormButtonTitle (): string |