aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation
diff options
context:
space:
mode:
authorkimsible <kimsible@users.noreply.github.com>2020-11-18 19:20:05 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-11-25 11:12:06 +0100
commitc418d483004dfbae9ea38d54aa1577db46d34a8a (patch)
treec4fd4ec790c6e5d6bc44e887090a8286e10fffd2 /client/src/app/shared/shared-moderation
parent18490b07650d77d7fe376970b749af5a8c672fd6 (diff)
downloadPeerTube-c418d483004dfbae9ea38d54aa1577db46d34a8a.tar.gz
PeerTube-c418d483004dfbae9ea38d54aa1577db46d34a8a.tar.zst
PeerTube-c418d483004dfbae9ea38d54aa1577db46d34a8a.zip
Add new default different avatar for channel and account
Diffstat (limited to 'client/src/app/shared/shared-moderation')
-rw-r--r--client/src/app/shared/shared-moderation/account-blocklist.component.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/shared-moderation/account-blocklist.component.ts b/client/src/app/shared/shared-moderation/account-blocklist.component.ts
index 68928a2c2..3de9587b8 100644
--- a/client/src/app/shared/shared-moderation/account-blocklist.component.ts
+++ b/client/src/app/shared/shared-moderation/account-blocklist.component.ts
@@ -1,7 +1,7 @@
1import { SortMeta } from 'primeng/api' 1import { SortMeta } from 'primeng/api'
2import { Directive, OnInit } from '@angular/core' 2import { Directive, OnInit } from '@angular/core'
3import { Notifier, RestPagination, RestTable } from '@app/core' 3import { Notifier, RestPagination, RestTable } from '@app/core'
4import { Actor } from '@app/shared/shared-main' 4import { Account } from '@app/shared/shared-main'
5import { AccountBlock } from './account-block.model' 5import { AccountBlock } from './account-block.model'
6import { BlocklistComponentType, BlocklistService } from './blocklist.service' 6import { BlocklistComponentType, BlocklistService } from './blocklist.service'
7 7
@@ -31,7 +31,7 @@ export class GenericAccountBlocklistComponent extends RestTable implements OnIni
31 } 31 }
32 32
33 switchToDefaultAvatar ($event: Event) { 33 switchToDefaultAvatar ($event: Event) {
34 ($event.target as HTMLImageElement).src = Actor.GET_DEFAULT_AVATAR_URL() 34 ($event.target as HTMLImageElement).src = Account.GET_DEFAULT_AVATAR_URL()
35 } 35 }
36 36
37 unblockAccount (accountBlock: AccountBlock) { 37 unblockAccount (accountBlock: AccountBlock) {