diff options
Diffstat (limited to 'client/src/app/shared/shared-abuse-list')
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-details.component.ts | 4 | ||||
-rw-r--r-- | client/src/app/shared/shared-abuse-list/abuse-list-table.component.ts | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/shared/shared-abuse-list/abuse-details.component.ts b/client/src/app/shared/shared-abuse-list/abuse-details.component.ts index 282a6fe19..31cf3389d 100644 --- a/client/src/app/shared/shared-abuse-list/abuse-details.component.ts +++ b/client/src/app/shared/shared-abuse-list/abuse-details.component.ts | |||
@@ -1,6 +1,6 @@ | |||
1 | import { Component, Input } from '@angular/core' | 1 | import { Component, Input } from '@angular/core' |
2 | import { durationToString } from '@app/helpers' | 2 | import { durationToString } from '@app/helpers' |
3 | import { Actor } from '@app/shared/shared-main' | 3 | import { Account } from '@app/shared/shared-main' |
4 | import { AbusePredefinedReasonsString } from '@shared/models' | 4 | import { AbusePredefinedReasonsString } from '@shared/models' |
5 | import { ProcessedAbuse } from './processed-abuse.model' | 5 | import { ProcessedAbuse } from './processed-abuse.model' |
6 | 6 | ||
@@ -47,6 +47,6 @@ export class AbuseDetailsComponent { | |||
47 | } | 47 | } |
48 | 48 | ||
49 | switchToDefaultAvatar ($event: Event) { | 49 | switchToDefaultAvatar ($event: Event) { |
50 | ($event.target as HTMLImageElement).src = Actor.GET_DEFAULT_AVATAR_URL() | 50 | ($event.target as HTMLImageElement).src = Account.GET_DEFAULT_AVATAR_URL() |
51 | } | 51 | } |
52 | } | 52 | } |
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 807665b9c..904f62b57 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 | |||
@@ -122,7 +122,7 @@ export class AbuseListTableComponent extends RestTable implements OnInit, AfterV | |||
122 | } | 122 | } |
123 | 123 | ||
124 | switchToDefaultAvatar ($event: Event) { | 124 | switchToDefaultAvatar ($event: Event) { |
125 | ($event.target as HTMLImageElement).src = Actor.GET_DEFAULT_AVATAR_URL() | 125 | ($event.target as HTMLImageElement).src = Account.GET_DEFAULT_AVATAR_URL() |
126 | } | 126 | } |
127 | 127 | ||
128 | async removeAbuse (abuse: AdminAbuse) { | 128 | async removeAbuse (abuse: AdminAbuse) { |