diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+admin/moderation/video-abuse-list/video-abuse-details.component.html | 4 | ||||
-rw-r--r-- | client/src/app/shared/moderation/user-moderation-dropdown.component.ts | 2 |
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:"' + videoAbuse.reporterAccount.displayName + '"' }" class="chip"> | 9 | <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reporter:"' + videoAbuse.reporterAccount.displayName + '"' }" 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:"' +videoAbuse.video.channel.ownerAccount.displayName + '"' }" class="chip"> | 29 | <a [routerLink]="[ '/admin/moderation/video-abuses/list' ]" [queryParams]="{ 'search': 'reportee:"' +videoAbuse.video.channel.ownerAccount.displayName + '"' }" 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() |