aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/shared-actor-image/actor-avatar.component.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-actor-image/actor-avatar.component.ts b/client/src/app/shared/shared-actor-image/actor-avatar.component.ts
index fa4f1e51f..fdc8268d8 100644
--- a/client/src/app/shared/shared-actor-image/actor-avatar.component.ts
+++ b/client/src/app/shared/shared-actor-image/actor-avatar.component.ts
@@ -52,8 +52,9 @@ export class ActorAvatarComponent implements OnChanges {
52 } 52 }
53 53
54 get defaultAvatarUrl () { 54 get defaultAvatarUrl () {
55 if (this.account) return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
56 if (this.channel) return VideoChannel.GET_DEFAULT_AVATAR_URL(this.getSizeNumber()) 55 if (this.channel) return VideoChannel.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
56
57 return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
57 } 58 }
58 59
59 get avatarUrl () { 60 get avatarUrl () {