Fix video-abuse-details avatar display and user-list dropdown placement
This commit is contained in:
parent
f66b8d1226
commit
97601690d6
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue