Fix comment add avatar when unlogged
This commit is contained in:
parent
7fb45bdacb
commit
b713976afb
|
@ -52,8 +52,9 @@ export class ActorAvatarComponent implements OnChanges {
|
|||
}
|
||||
|
||||
get defaultAvatarUrl () {
|
||||
if (this.account) return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
|
||||
if (this.channel) return VideoChannel.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
|
||||
|
||||
return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
|
||||
}
|
||||
|
||||
get avatarUrl () {
|
||||
|
|
Loading…
Reference in New Issue