aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 16:05:59 +0200
committerChocobozzz <me@florianbigard.com>2019-07-25 11:00:43 +0200
commitf36da21e40104a50acb00132920b835240cebb38 (patch)
treea513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/shared/moderation
parenta353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff)
downloadPeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz
PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst
PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip
Update angular
Diffstat (limited to 'client/src/app/shared/moderation')
-rw-r--r--client/src/app/shared/moderation/user-ban-modal.component.ts2
-rw-r--r--client/src/app/shared/moderation/user-moderation-dropdown.component.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/moderation/user-ban-modal.component.ts b/client/src/app/shared/moderation/user-ban-modal.component.ts
index 942765301..cf0e1577a 100644
--- a/client/src/app/shared/moderation/user-ban-modal.component.ts
+++ b/client/src/app/shared/moderation/user-ban-modal.component.ts
@@ -14,7 +14,7 @@ import { User } from '../../../../../shared'
14 styleUrls: [ './user-ban-modal.component.scss' ] 14 styleUrls: [ './user-ban-modal.component.scss' ]
15}) 15})
16export class UserBanModalComponent extends FormReactive implements OnInit { 16export class UserBanModalComponent extends FormReactive implements OnInit {
17 @ViewChild('modal') modal: NgbModal 17 @ViewChild('modal', { static: true }) modal: NgbModal
18 @Output() userBanned = new EventEmitter<User | User[]>() 18 @Output() userBanned = new EventEmitter<User | User[]>()
19 19
20 private usersToBan: User | User[] 20 private usersToBan: User | User[]
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 9dd16812b..24f717821 100644
--- a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
+++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts
@@ -13,7 +13,7 @@ import { BlocklistService } from '@app/shared/blocklist'
13 templateUrl: './user-moderation-dropdown.component.html' 13 templateUrl: './user-moderation-dropdown.component.html'
14}) 14})
15export class UserModerationDropdownComponent implements OnChanges { 15export class UserModerationDropdownComponent implements OnChanges {
16 @ViewChild('userBanModal') userBanModal: UserBanModalComponent 16 @ViewChild('userBanModal', { static: false }) userBanModal: UserBanModalComponent
17 17
18 @Input() user: User 18 @Input() user: User
19 @Input() account: Account 19 @Input() account: Account