diff options
Diffstat (limited to 'client/src/app/+admin/overview/users')
-rw-r--r-- | client/src/app/+admin/overview/users/user-list/user-list.component.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/client/src/app/+admin/overview/users/user-list/user-list.component.ts b/client/src/app/+admin/overview/users/user-list/user-list.component.ts index 3e1a5f6b8..99987fdff 100644 --- a/client/src/app/+admin/overview/users/user-list/user-list.component.ts +++ b/client/src/app/+admin/overview/users/user-list/user-list.component.ts | |||
@@ -2,11 +2,12 @@ import { SortMeta } from 'primeng/api' | |||
2 | import { Component, OnInit, ViewChild } from '@angular/core' | 2 | import { Component, OnInit, ViewChild } from '@angular/core' |
3 | import { ActivatedRoute, Router } from '@angular/router' | 3 | import { ActivatedRoute, Router } from '@angular/router' |
4 | import { AuthService, ConfirmService, LocalStorageService, Notifier, RestPagination, RestTable, ServerService } from '@app/core' | 4 | import { AuthService, ConfirmService, LocalStorageService, Notifier, RestPagination, RestTable, ServerService } from '@app/core' |
5 | import { prepareIcu, getAPIHost } from '@app/helpers' | 5 | import { getAPIHost, prepareIcu } from '@app/helpers' |
6 | import { AdvancedInputFilter } from '@app/shared/shared-forms' | 6 | import { AdvancedInputFilter } from '@app/shared/shared-forms' |
7 | import { Actor, DropdownAction } from '@app/shared/shared-main' | 7 | import { Actor, DropdownAction } from '@app/shared/shared-main' |
8 | import { AccountMutedStatus, BlocklistService, UserBanModalComponent, UserModerationDisplayType } from '@app/shared/shared-moderation' | 8 | import { AccountMutedStatus, BlocklistService, UserBanModalComponent, UserModerationDisplayType } from '@app/shared/shared-moderation' |
9 | import { UserAdminService } from '@app/shared/shared-users' | 9 | import { UserAdminService } from '@app/shared/shared-users' |
10 | import { logger } from '@root-helpers/logger' | ||
10 | import { User, UserRole } from '@shared/models' | 11 | import { User, UserRole } from '@shared/models' |
11 | 12 | ||
12 | type UserForList = User & { | 13 | type UserForList = User & { |
@@ -149,7 +150,7 @@ export class UserListComponent extends RestTable implements OnInit { | |||
149 | this.selectedColumns = JSON.parse(result) | 150 | this.selectedColumns = JSON.parse(result) |
150 | return | 151 | return |
151 | } catch (err) { | 152 | } catch (err) { |
152 | console.error('Cannot load selected columns.', err) | 153 | logger.error('Cannot load selected columns.', err) |
153 | } | 154 | } |
154 | } | 155 | } |
155 | 156 | ||