this.serverService.getVideoPrivacies()
.subscribe(privacies => {
- this.videoPrivacies = this.videoService.explainedPrivacyLabels(privacies)
+ this.videoPrivacies = this.videoService.explainedPrivacyLabels(privacies).videoPrivacies
+
if (this.schedulePublicationPossible) {
this.videoPrivacies.push({
id: this.SPECIAL_SCHEDULED_PRIVACY,
}
})
-
this.serverConfig = this.serverService.getHTMLConfig()
this.initialVideoCaptions = this.videoCaptions.map(c => c.language.id)