<a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reporter:"' + videoAbuse.reporterAccount.displayName + '"' }" class="chip">
<img
class="avatar"
- [src]="videoAbuse.reporterAccount.avatar.path"
+ [src]="videoAbuse.reporterAccount.avatar?.path"
(error)="switchToDefaultAvatar($event)"
alt="Avatar"
>
<a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reportee:"' +videoAbuse.video.channel.ownerAccount.displayName + '"' }" class="chip">
<img
class="avatar"
- [src]="videoAbuse.video.channel.ownerAccount?.avatar.path"
+ [src]="videoAbuse.video.channel.ownerAccount?.avatar?.path"
(error)="switchToDefaultAvatar($event)"
alt="Avatar"
>
@Input() account: Account
@Input() buttonSize: 'normal' | 'small' = 'normal'
- @Input() placement = 'left'
+ @Input() placement = 'left-top left-bottom auto'
@Input() label: string
@Output() userChanged = new EventEmitter()