aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-moderation
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-01-20 14:58:05 +0100
committerChocobozzz <me@florianbigard.com>2023-01-20 14:58:20 +0100
commitcd940f40cb62fa105b14e1ce838e97f316c13c5c (patch)
tree96c9e2473b2c6243537e287787528492349ff92b /client/src/app/shared/shared-moderation
parent9436936cf68b6c1225298b0e30c23c40f0d15bda (diff)
downloadPeerTube-cd940f40cb62fa105b14e1ce838e97f316c13c5c.tar.gz
PeerTube-cd940f40cb62fa105b14e1ce838e97f316c13c5c.tar.zst
PeerTube-cd940f40cb62fa105b14e1ce838e97f316c13c5c.zip
Support bulk registration request removal
Diffstat (limited to 'client/src/app/shared/shared-moderation')
-rw-r--r--client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts
index c69a45c25..50dccf862 100644
--- a/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts
+++ b/client/src/app/shared/shared-moderation/user-moderation-dropdown.component.ts
@@ -105,7 +105,7 @@ export class UserModerationDropdownComponent implements OnInit, OnChanges {
105 const res = await this.confirmService.confirm(message, $localize`Delete ${user.username}`) 105 const res = await this.confirmService.confirm(message, $localize`Delete ${user.username}`)
106 if (res === false) return 106 if (res === false) return
107 107
108 this.userAdminService.removeUser(user) 108 this.userAdminService.removeUsers(user)
109 .subscribe({ 109 .subscribe({
110 next: () => { 110 next: () => {
111 this.notifier.success($localize`User ${user.username} deleted.`) 111 this.notifier.success($localize`User ${user.username} deleted.`)