diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2021-06-05 11:05:25 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-06-08 09:22:06 +0200 |
commit | 295106516277581ba4967199fa5580264a90ae2c (patch) | |
tree | 1e95f4ba0f4c354802a495939d642590a5d3b5fa /client/src/app/+videos/+video-edit/shared | |
parent | 27bc95867442c772841fb183a625bbda61dede51 (diff) | |
download | PeerTube-295106516277581ba4967199fa5580264a90ae2c.tar.gz PeerTube-295106516277581ba4967199fa5580264a90ae2c.tar.zst PeerTube-295106516277581ba4967199fa5580264a90ae2c.zip |
allow public video privacy to be deleted in the web client
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared')
-rw-r--r-- | client/src/app/+videos/+video-edit/shared/video-edit.component.ts | 2 |
1 files changed, 1 insertions, 1 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 c3299cade..aebd53318 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 | |||
@@ -184,7 +184,7 @@ export class VideoEditComponent implements OnInit, OnDestroy { | |||
184 | 184 | ||
185 | this.serverService.getVideoPrivacies() | 185 | this.serverService.getVideoPrivacies() |
186 | .subscribe(privacies => { | 186 | .subscribe(privacies => { |
187 | this.videoPrivacies = this.videoService.explainedPrivacyLabels(privacies) | 187 | this.videoPrivacies = this.videoService.explainedPrivacyLabels(privacies).videoPrivacies |
188 | if (this.schedulePublicationPossible) { | 188 | if (this.schedulePublicationPossible) { |
189 | this.videoPrivacies.push({ | 189 | this.videoPrivacies.push({ |
190 | id: this.SPECIAL_SCHEDULED_PRIVACY, | 190 | id: this.SPECIAL_SCHEDULED_PRIVACY, |