linting code
This commit is contained in:
parent
72a7463533
commit
5db23f87b4
|
@ -93,14 +93,14 @@ export class UserListComponent extends RestTable <User> implements OnInit {
|
|||
|
||||
ngOnInit () {
|
||||
this.route.queryParams.subscribe(params => {
|
||||
const paramPage = +params['page'];
|
||||
const paramCount = +params['count'];
|
||||
const paramPage = +params['page']
|
||||
const paramCount = +params['count']
|
||||
|
||||
if (!isNaN(paramPage) && !isNaN(paramCount)) {
|
||||
this.rowsPerPage = paramCount
|
||||
this.start = paramCount * (paramPage - 1);
|
||||
this.start = paramCount * (paramPage - 1)
|
||||
}
|
||||
});
|
||||
})
|
||||
this.serverService.getConfig()
|
||||
.subscribe(config => this.requiresEmailVerification = config.signup.requiresEmailVerification)
|
||||
|
||||
|
@ -350,5 +350,4 @@ export class UserListComponent extends RestTable <User> implements OnInit {
|
|||
this.pagination.start = this.start
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user