diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts index 08cf297cc..8781c16f5 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts +++ b/client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts | |||
@@ -171,6 +171,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit { | |||
171 | 171 | ||
172 | isLocalAbuse (abuse: AdminAbuse) { | 172 | isLocalAbuse (abuse: AdminAbuse) { |
173 | if (this.viewType === 'user') return true | 173 | if (this.viewType === 'user') return true |
174 | if (!abuse.reporterAccount) return false | ||
174 | 175 | ||
175 | return Actor.IS_LOCAL(abuse.reporterAccount.host) | 176 | return Actor.IS_LOCAL(abuse.reporterAccount.host) |
176 | } | 177 | } |