aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-07 14:50:27 +0200
committerChocobozzz <me@florianbigard.com>2019-06-07 15:01:55 +0200
commit851f5daa1eec66e1faa3c45238ec9ab91be05b00 (patch)
treea13952cde4ad4434aeaa1894e0270d0515638650 /client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-edit.ts
parent1b319b7aa6d2f4252615b370aaca6a800be1b1f4 (diff)
downloadPeerTube-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.ts2
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 @@
1import { FormReactive } from '@app/shared' 1import { FormReactive } from '@app/shared'
2import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model' 2import { VideoPlaylist } from '@shared/models/videos/playlist/video-playlist.model'
3import { VideoConstant, VideoPlaylistPrivacy } from '@shared/models'
3 4
4export abstract class MyAccountVideoPlaylistEdit extends FormReactive { 5export 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