aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/shared-actor-image/actor-avatar.component.ts7
1 files changed, 3 insertions, 4 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 e74dd1634..b06c2bae6 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
@@ -55,8 +55,8 @@ export class ActorAvatarComponent {
55 55
56 if (this.size) base.push(`avatar-${this.size}`) 56 if (this.size) base.push(`avatar-${this.size}`)
57 57
58 if (this.account) base.push('account') 58 if (this.channel) base.push('channel')
59 else base.push('channel') 59 else base.push('account')
60 60
61 if (type === 'initial' && this.initial) { 61 if (type === 'initial' && this.initial) {
62 base.push('initial') 62 base.push('initial')
@@ -67,10 +67,9 @@ export class ActorAvatarComponent {
67 } 67 }
68 68
69 get defaultAvatarUrl () { 69 get defaultAvatarUrl () {
70 if (this.account) Account.GET_DEFAULT_AVATAR_URL()
71 if (this.channel) return VideoChannel.GET_DEFAULT_AVATAR_URL() 70 if (this.channel) return VideoChannel.GET_DEFAULT_AVATAR_URL()
72 71
73 return '' 72 return Account.GET_DEFAULT_AVATAR_URL()
74 } 73 }
75 74
76 get avatarUrl () { 75 get avatarUrl () {