+ onAvatarDelete () {
+ this.videoChannelService.deleteVideoChannelAvatar(this.videoChannelToUpdate.name)
+ .subscribe(
+ data => {
+ this.notifier.success($localize`Avatar deleted.`)
+
+ this.videoChannelToUpdate.resetAvatar()
+ },
+
+ err => this.notifier.error(err.message)
+ )
+ }
+