diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-19 11:49:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-19 16:36:20 +0100 |
commit | d487a997c80fafe6067016c6cd8e8afd6141baa3 (patch) | |
tree | 2fd8987f50ae56d1f74543f264cd171b90809a3b /client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts | |
parent | 1ef7f3230473c8a74032d269e027201c3a51974d (diff) | |
download | PeerTube-d487a997c80fafe6067016c6cd8e8afd6141baa3.tar.gz PeerTube-d487a997c80fafe6067016c6cd8e8afd6141baa3.tar.zst PeerTube-d487a997c80fafe6067016c6cd8e8afd6141baa3.zip |
Import in private, and then set the chosen privacy
Diffstat (limited to 'client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts index 5ca753eaf..c447c179d 100644 --- a/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts +++ b/client/src/app/+videos/+video-edit/video-add-components/video-import-url.component.ts | |||
@@ -63,7 +63,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, CanCom | |||
63 | this.isImportingVideo = true | 63 | this.isImportingVideo = true |
64 | 64 | ||
65 | const videoUpdate: VideoUpdate = { | 65 | const videoUpdate: VideoUpdate = { |
66 | privacy: this.firstStepPrivacyId, | 66 | privacy: VideoPrivacy.PRIVATE, |
67 | waitTranscoding: false, | 67 | waitTranscoding: false, |
68 | commentsEnabled: true, | 68 | commentsEnabled: true, |
69 | downloadEnabled: true, | 69 | downloadEnabled: true, |
@@ -103,6 +103,7 @@ export class VideoImportUrlComponent extends VideoSend implements OnInit, CanCom | |||
103 | this.video = new VideoEdit(Object.assign(video, { | 103 | this.video = new VideoEdit(Object.assign(video, { |
104 | commentsEnabled: videoUpdate.commentsEnabled, | 104 | commentsEnabled: videoUpdate.commentsEnabled, |
105 | downloadEnabled: videoUpdate.downloadEnabled, | 105 | downloadEnabled: videoUpdate.downloadEnabled, |
106 | privacy: { id: this.firstStepPrivacyId }, | ||
106 | support: null, | 107 | support: null, |
107 | thumbnailUrl, | 108 | thumbnailUrl, |
108 | previewUrl | 109 | previewUrl |