diff --git a/src/app/collection-page/collection-page.component.ts b/src/app/collection-page/collection-page.component.ts index a29ecf94ef..44c45edc4f 100644 --- a/src/app/collection-page/collection-page.component.ts +++ b/src/app/collection-page/collection-page.component.ts @@ -14,9 +14,8 @@ import { ItemDataService } from '../core/data/item-data.service'; import { Item } from '../core/shared/item.model'; import { SortOptions, SortDirection } from '../core/cache/models/sort-options.model'; import { PaginationComponentOptions } from '../shared/pagination/pagination-component-options.model'; -import { hasValue } from '../shared/empty.util'; +import { hasValue, isUndefined } from '../shared/empty.util'; import { PageInfo } from '../core/shared/page-info.model'; -import { isUndefined } from 'util'; @Component({ selector: 'ds-collection-page', diff --git a/src/app/shared/pagination/pagination.component.ts b/src/app/shared/pagination/pagination.component.ts index a03590f22d..a6c3b02aca 100644 --- a/src/app/shared/pagination/pagination.component.ts +++ b/src/app/shared/pagination/pagination.component.ts @@ -21,9 +21,8 @@ import { HostWindowService } from '../host-window.service'; import { HostWindowState } from '../host-window.reducer'; import { PaginationComponentOptions } from './pagination-component-options.model'; import { SortDirection, SortOptions } from '../../core/cache/models/sort-options.model'; -import { hasValue } from '../empty.util'; +import { hasValue, isUndefined } from '../empty.util'; import { PageInfo } from '../../core/shared/page-info.model'; -import { isUndefined } from 'util'; /** * The default pagination controls component.