mirror of https://github.com/Chocobozzz/PeerTube
Fix comment add avatar when unlogged
parent
7fb45bdacb
commit
b713976afb
|
@ -52,8 +52,9 @@ export class ActorAvatarComponent implements OnChanges {
|
||||||
}
|
}
|
||||||
|
|
||||||
get defaultAvatarUrl () {
|
get defaultAvatarUrl () {
|
||||||
if (this.account) return Account.GET_DEFAULT_AVATAR_URL(this.getSizeNumber())
|
|
||||||
if (this.channel) return VideoChannel.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 () {
|
get avatarUrl () {
|
||||||
|
|
Loading…
Reference in New Issue