mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix comment add avatar when unlogged
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user