aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-13 08:46:51 +0200
committerChocobozzz <me@florianbigard.com>2021-07-13 08:46:51 +0200
commita3f45a2ab3cadf0946f06a0539993b828becd516 (patch)
tree6ebd8e6f1fe199e71ac7a6c9e0b6f161dff9fd97 /client/src/app/+videos/+video-edit/shared/video-edit.component.ts
parentde15b052c59cbd4b99bca835b124485ca1af399e (diff)
downloadPeerTube-a3f45a2ab3cadf0946f06a0539993b828becd516.tar.gz
PeerTube-a3f45a2ab3cadf0946f06a0539993b828becd516.tar.zst
PeerTube-a3f45a2ab3cadf0946f06a0539993b828becd516.zip
Fix default privacy when plugins deleted private
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared/video-edit.component.ts')
-rw-r--r--client/src/app/+videos/+video-edit/shared/video-edit.component.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-edit/shared/video-edit.component.ts b/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
index aebd53318..90a0e8f52 100644
--- a/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
+++ b/client/src/app/+videos/+video-edit/shared/video-edit.component.ts
@@ -185,6 +185,7 @@ export class VideoEditComponent implements OnInit, OnDestroy {
185 this.serverService.getVideoPrivacies() 185 this.serverService.getVideoPrivacies()
186 .subscribe(privacies => { 186 .subscribe(privacies => {
187 this.videoPrivacies = this.videoService.explainedPrivacyLabels(privacies).videoPrivacies 187 this.videoPrivacies = this.videoService.explainedPrivacyLabels(privacies).videoPrivacies
188
188 if (this.schedulePublicationPossible) { 189 if (this.schedulePublicationPossible) {
189 this.videoPrivacies.push({ 190 this.videoPrivacies.push({
190 id: this.SPECIAL_SCHEDULED_PRIVACY, 191 id: this.SPECIAL_SCHEDULED_PRIVACY,