})
)
.subscribe({
- next: ([ videoPlaylistToUpdate, videoPlaylistPrivacies]) => {
+ next: ([ videoPlaylistToUpdate, videoPlaylistPrivacies ]) => {
this.videoPlaylistToUpdate = videoPlaylistToUpdate
this.videoPlaylistPrivacies = videoPlaylistPrivacies
this.hydrateFormFromPlaylist()
},
- error: err => this.error = err.message
+ error: err => {
+ this.error = err.message
+ }
})
}
this.router.navigate([ '/my-library', 'video-playlists' ])
},
- error: err => this.error = err.message
+ error: err => {
+ this.error = err.message
+ }
})
}