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'
},
{
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)
},