diff options
Diffstat (limited to 'client/src/app/+admin')
4 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index be1a99289..f13fe4bf9 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | |||
@@ -260,7 +260,7 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit { | |||
260 | this.loadCategoriesAndLanguages() | 260 | this.loadCategoriesAndLanguages() |
261 | } | 261 | } |
262 | 262 | ||
263 | async formValidated () { | 263 | formValidated () { |
264 | const value: ComponentCustomConfig = this.form.getRawValue() | 264 | const value: ComponentCustomConfig = this.form.getRawValue() |
265 | 265 | ||
266 | forkJoin([ | 266 | forkJoin([ |
diff --git a/client/src/app/+admin/follows/following-list/follow-modal.component.ts b/client/src/app/+admin/follows/following-list/follow-modal.component.ts index c55fc8d81..c40b36e10 100644 --- a/client/src/app/+admin/follows/following-list/follow-modal.component.ts +++ b/client/src/app/+admin/follows/following-list/follow-modal.component.ts | |||
@@ -54,7 +54,7 @@ export class FollowModalComponent extends FormReactive implements OnInit { | |||
54 | return window.location.protocol === 'https:' | 54 | return window.location.protocol === 'https:' |
55 | } | 55 | } |
56 | 56 | ||
57 | private async addFollowing () { | 57 | private addFollowing () { |
58 | const hostsOrHandles = splitAndGetNotEmpty(this.form.value['hostsOrHandles']) | 58 | const hostsOrHandles = splitAndGetNotEmpty(this.form.value['hostsOrHandles']) |
59 | 59 | ||
60 | this.followService.follow(hostsOrHandles) | 60 | this.followService.follow(hostsOrHandles) |
diff --git a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts index 512ceffd9..c09ce7293 100644 --- a/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts +++ b/client/src/app/+admin/moderation/video-comment-list/video-comment-list.component.ts | |||
@@ -134,7 +134,7 @@ export class VideoCommentListComponent extends RestTable implements OnInit { | |||
134 | }) | 134 | }) |
135 | } | 135 | } |
136 | 136 | ||
137 | private async removeComments (comments: VideoCommentAdmin[]) { | 137 | private removeComments (comments: VideoCommentAdmin[]) { |
138 | const commentArgs = comments.map(c => ({ videoId: c.video.id, commentId: c.id })) | 138 | const commentArgs = comments.map(c => ({ videoId: c.video.id, commentId: c.id })) |
139 | 139 | ||
140 | this.videoCommentService.deleteVideoComments(commentArgs) | 140 | this.videoCommentService.deleteVideoComments(commentArgs) |
diff --git a/client/src/app/+admin/users/user-list/user-list.component.ts b/client/src/app/+admin/users/user-list/user-list.component.ts index 39caf5ed5..1030759df 100644 --- a/client/src/app/+admin/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/users/user-list/user-list.component.ts | |||
@@ -206,7 +206,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
206 | }) | 206 | }) |
207 | } | 207 | } |
208 | 208 | ||
209 | async setEmailsAsVerified (users: User[]) { | 209 | setEmailsAsVerified (users: User[]) { |
210 | this.userService.updateUsers(users, { emailVerified: true }) | 210 | this.userService.updateUsers(users, { emailVerified: true }) |
211 | .subscribe({ | 211 | .subscribe({ |
212 | next: () => { | 212 | next: () => { |