updated angular/rxjs to v6 successfully

This commit is contained in:
lotte
2018-08-31 15:40:39 +02:00
parent 777facf5cd
commit f11d486d14
78 changed files with 968 additions and 1361 deletions

View File

@@ -18,7 +18,6 @@ import { PaginationComponentOptions } from './pagination-component-options.model
import { SortDirection, SortOptions } from '../../core/cache/models/sort-options.model';
import { hasValue, isNotEmpty } from '../empty.util';
import { PageInfo } from '../../core/shared/page-info.model';
import { isNumeric } from 'tslint';
/**
* The default pagination controls component.
@@ -419,7 +418,7 @@ export class PaginationComponent implements OnDestroy, OnInit {
*/
private validatePage(page: any): number {
let result = this.currentPage;
if (isNumeric(page)) {
if (!isNaN(page)) {
result = +page;
}
return result;