X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-watch%2Fcomment%2Fvideo-comment-add.component.ts;h=fce7e5edc6f47819a9c32a3c368ebf63a532849a;hb=fbdcd4ec9f549b730f8311512bcc0c0b7bc2db0a;hp=f1f0dfeba139b7183bd4b48eaf109beb511e00ee;hpb=266947e5efc7ff30b0020beb5a74e4d4fc696fa5;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts index f1f0dfeba..fce7e5edc 100644 --- a/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts +++ b/client/src/app/+videos/+video-watch/comment/video-comment-add.component.ts @@ -143,11 +143,6 @@ export class VideoCommentAddComponent extends FormReactive implements OnChanges, return window.location.href } - getAvatarUrl () { - if (this.user) return this.user.accountAvatarUrl - return Account.GET_DEFAULT_AVATAR_URL() - } - gotoLogin () { this.hideModals() this.router.navigate([ '/login' ])