]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+admin/users/user-list/user-list.component.ts
Fix angular 9 build
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / users / user-list / user-list.component.ts
index a596251f652a52b82c3d43813289ab7bc5d30d30..6e9a1fedacfeb7c1392b713bd85d6014e3db1ae8 100644 (file)
@@ -1,6 +1,6 @@
 import { Component, OnInit, ViewChild } from '@angular/core'
 import { AuthService, Notifier } from '@app/core'
-import { SortMeta } from 'primeng/components/common/sortmeta'
+import { SortMeta } from 'primeng/api'
 import { ConfirmService, ServerService } from '../../../core'
 import { RestPagination, RestTable, UserService } from '../../../shared'
 import { I18n } from '@ngx-translate/i18n-polyfill'
@@ -63,7 +63,7 @@ export class UserListComponent extends RestTable implements OnInit {
         },
         {
           label: this.i18n('Ban'),
-          description: this.i18n('Videos will be kept as private, comments will be kept as is.'),
+          description: this.i18n('User won\'t be able to login anymore, but videos and comments will be kept as is.'),
           handler: users => this.openBanUserModal(users),
           isDisplayed: users => users.every(u => this.authUser.canManage(u) && u.blocked === false)
         },