mirror of https://github.com/Chocobozzz/PeerTube
Fix video-abuse-details avatar display and user-list dropdown placement
parent
f66b8d1226
commit
97601690d6
|
@ -9,7 +9,7 @@
|
|||
<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"
|
||||
>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<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"
|
||||
>
|
||||
|
|
|
@ -20,7 +20,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
|
|||
@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()
|
||||
|
|
Loading…
Reference in New Issue