aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-05-05 12:02:57 +0200
committerRigel Kent <sendmemail@rigelk.eu>2020-05-05 12:02:57 +0200
commit97601690d690c17432129bc6f7ae8c5b71b95966 (patch)
tree15ebe0ae51875c6cafda6d5298792a51960d60ee /client
parentf66b8d1226a48cd963ff25835d85ab40e0391c21 (diff)
downloadPeerTube-97601690d690c17432129bc6f7ae8c5b71b95966.tar.gz
PeerTube-97601690d690c17432129bc6f7ae8c5b71b95966.tar.zst
PeerTube-97601690d690c17432129bc6f7ae8c5b71b95966.zip
Fix video-abuse-details avatar display and user-list dropdown placement
Diffstat (limited to 'client')
-rw-r--r--client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html4
-rw-r--r--client/src/app/shared/moderation/user-moderation-dropdown.component.ts2
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html
index 588d38395..2abcc0669 100644
--- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html
+++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html
@@ -9,7 +9,7 @@
9 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reporter:&quot;' + videoAbuse.reporterAccount.displayName + '&quot;' }" class="chip"> 9 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reporter:&quot;' + videoAbuse.reporterAccount.displayName + '&quot;' }" class="chip">
10 <img 10 <img
11 class="avatar" 11 class="avatar"
12 [src]="videoAbuse.reporterAccount.avatar.path" 12 [src]="videoAbuse.reporterAccount.avatar?.path"
13 (error)="switchToDefaultAvatar($event)" 13 (error)="switchToDefaultAvatar($event)"
14 alt="Avatar" 14 alt="Avatar"
15 > 15 >
@@ -29,7 +29,7 @@
29 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reportee:&quot;' +videoAbuse.video.channel.ownerAccount.displayName + '&quot;' }" class="chip"> 29 <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reportee:&quot;' +videoAbuse.video.channel.ownerAccount.displayName + '&quot;' }" class="chip">
30 <img 30 <img
31 class="avatar" 31 class="avatar"
32 [src]="videoAbuse.video.channel.ownerAccount?.avatar.path" 32 [src]="videoAbuse.video.channel.ownerAccount?.avatar?.path"
33 (error)="switchToDefaultAvatar($event)" 33 (error)="switchToDefaultAvatar($event)"
34 alt="Avatar" 34 alt="Avatar"
35 > 35 >
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
index 9197556b0..c8ccaa800 100644
--- a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
+++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
@@ -20,7 +20,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
20 @Input() account: Account 20 @Input() account: Account
21 21
22 @Input() buttonSize: 'normal' | 'small' = 'normal' 22 @Input() buttonSize: 'normal' | 'small' = 'normal'
23 @Input() placement = 'left' 23 @Input() placement = 'left-top left-bottom auto'
24 @Input() label: string 24 @Input() label: string
25 25
26 @Output() userChanged = new EventEmitter() 26 @Output() userChanged = new EventEmitter()